Closed drodarie closed 1 year ago
We could add a safe
flag that checks the type before trying to cast it, like numpy does
@drodarie you have a branch ready with a fix, but no PR is open. Did you forget it?
No the tests do not pass and I am still trying to fix it before creating the pull request.
On branch main, MorphologyDependencyNode tags is a dictionary attribute:
The problem is that a string can be casted as a list of string and a list of string can be casted into a string and the or function takes the first cast that works. So for instance with the following python script:
We obtain:
I don't know how to make sure that lists are treated in priority as lists and strings as strings.