We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7cdc6b commit a56c0bbCopy full SHA for a56c0bb
nipype/interfaces/base.py
@@ -2061,7 +2061,7 @@ class MultiPath(traits.List):
2061
def validate(self, object, name, value):
2062
2063
# want to treat range and other sequences (except str) as list
2064
- if not isinstance(value, str) and isinstance(value, collections.Sequence):
+ if not isinstance(value, (str, bytes)) and isinstance(value, collections.Sequence):
2065
value = list(value)
2066
2067
if not isdefined(value) or \
0 commit comments