[ESSREDUCE] `ParamWithOptions` fails to instantiate when the associated parameter has a default value on the workflow
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1
- Forks
- 3
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 17
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the workflow GUI parameter instantiation with ParamWithOptions when the associated sciline type has a default value, then compare it with a type without one. Trace how the widget is constructed and ensure the default-value case no longer raises the missing options TypeError while options remain available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100