You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PositionerBase method .set takes wait as an argument and calls .move method (with wait).
However, the .move from PositionerBase immediately crashes with TypeError: PositionerBase.move() got an unexpected keyword argument 'wait'
It seems that this problem is known- see DocString of PositionerBase.
To me it seems unintuitive that the base class crashes immediately. If the base class is not intended to be used directly, I believe it should be turned into an ABC. Or implement the move method, i.e. as for the PVPositioner.
The text was updated successfully, but these errors were encountered:
mguijarr
pushed a commit
to mguijarr/ophyd
that referenced
this issue
Apr 8, 2024
The
PositionerBase
method.set
takes wait as an argument and calls.move
method (with wait).However, the
.move
fromPositionerBase
immediately crashes withTypeError: PositionerBase.move() got an unexpected keyword argument 'wait'
It seems that this problem is known- see DocString of
PositionerBase
.To me it seems unintuitive that the base class crashes immediately. If the base class is not intended to be used directly, I believe it should be turned into an ABC. Or implement the move method, i.e. as for the PVPositioner.
The text was updated successfully, but these errors were encountered: