Skip to content

Access and modification of master parameters #76

@shervin86

Description

@shervin86

Here's an example usage that seems natural but does not work.

myinstrument = ....
a2 = myinstrument.master["a2"]
a2.value = 5

with a2 a master parameter, setting directly the value is not changing the values in the calculators linked to this master.
One should instead do myinstrument.master["a2"] = 5, so using the setitem method of MasterParameters.

We should think a way to make the example work. I don't see ways to disallow a user to do as in my example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions