ParamWithOptions is used to register workflow GUI parameter that have options.
If the sciline type that is associated with the GUI parameter has a default value in the workflow, then the instantiation of the parameter widget fails with the error:
TypeError: ParamWithOptions.__init__() missing 1 required keyword-only argument: 'options'
If the sciline type does not have a default value then it works.
ParamWithOptionsis used to register workflow GUI parameter that have options.If the sciline type that is associated with the GUI parameter has a default value in the workflow, then the instantiation of the parameter widget fails with the error:
If the sciline type does not have a default value then it works.