-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi valued parameters #207
Labels
Comments
I also encountered a command in which I need to pass two arguments. It would be nice if this was included in the functionality of the |
@MerlinSmiles let's look at this when you are back here, it seems like that can be fixed creating a custom parameter instead of the standardparameter that add_parameter uses by default. |
Closed
I believe this was solved along with #166 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been running into issues with multi valued parameters.
i.e. in the magnet driver, I want a
fld
parameter that returns and setsx, y, z
values, reading the values works just fine with theAnything
validator, but setting failes.For reference, something like this:
There are at least two issues here:
parameter.py
file, lines146+
:The multi valued parameters no longer have a
name
, and a_vals
attribute anymore.If I do
It kindof works, but at least the docstring and units is broken (and I have to use the
Anything
validator)2. The validators only work on single-valued inputs, not on multi-values.
The text was updated successfully, but these errors were encountered: