First cut of user CLI API 

Done.

On Dec 5, 2014, at 12:09 AM, Thomas A Caswell <notifications@github.com<mailto:notifications@github.com>> wrote:


In ophyd/userapi/cli_api.py:

> +def set_pos(positioner, position):
> +  """Set the position of a positioner
> +
> +  Note : Currently this only works for EpicsMotor instances
> +  :param positioner: A single positioner or a collection of positioners to move
> +  :param position: A single position or a collection of positions.
> +
> +  """
> +  # TODO : Loggin of motors
> +  for p in positioner:
> +    if not isinstance(p, EpicsMotor):
> +      raise ValueError("Positioners must be EpicsMotors to set position")
> +
> +  # Get the current position
> +
> +


one blank line

—
Reply to this email directly or view it on GitHub<https://github.com/NSLS-II/ophyd/pull/23/files#r21355756>.