You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I needed to fix "MutexWS" name/val correspondence because in aggl. task "gasp", "mutex_ws", "multicut" are matched as strings, while in another module for GUI "mutexws" was used.
We better make a Enum instead of matching strings in many cases in PlantSeg. But some refactored Enums in PlantSeg are really hard to use. Need to refactor and make a generic class with to_choice(). The challenge has been that in Napari GUI the choice should have a human readable string as the name and a constant code as its value, this is the reverse of Enum.
Or we find an alternative.
The text was updated successfully, but these errors were encountered:
I needed to fix "MutexWS" name/val correspondence because in aggl. task "gasp", "mutex_ws", "multicut" are matched as strings, while in another module for GUI "mutexws" was used.
We better make a
Enum
instead of matching strings in many cases in PlantSeg. But some refactoredEnum
s in PlantSeg are really hard to use. Need to refactor and make a generic class withto_choice()
. The challenge has been that in Napari GUI the choice should have a human readable string as the name and a constant code as its value, this is the reverse ofEnum
.Or we find an alternative.
The text was updated successfully, but these errors were encountered: