BioDepot / BioDepot-workflow-builder

:computer: GUI for creating bioinformatics workflows from :whale: Docker containers:
Other
64 stars 21 forks source link

UnknownWidgetDefinition: Widget disappears when adding a parameter with a dash "-" in the name #60

Open BryceNoFu opened 1 year ago

BryceNoFu commented 1 year ago

I added a new parameter to a widget that has a dash "-" in the Name: widget name dash

When I saved the widget and restarted the workflow, this error message pops up: Widget crash and no longer appears in workflow and sidebar after edit parameters (because I added -dash- n name parameter)

After clicking "OK", the workflow appears with everything loaded except the widget I just edited. The widget disappears in the workflow canvas and is no longer listed in the workflow's tool dock. The widget's folder is still present in the workflow widget directory, so it is just not appearing in the workflow.

The culprit seems to be adding a "-" somewhere in the Name of the new parameter.