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.
2 parents 641fc7c + e5d4440 commit ef9122eCopy full SHA for ef9122e
nipype/pipeline/utils.py
@@ -634,7 +634,7 @@ def walk_outputs(object):
634
if isdefined(val):
635
out.extend(walk_outputs(val))
636
else:
637
- if isdefined(object) and isinstance(object, str):
+ if isdefined(object) and isinstance(object, basestring):
638
if os.path.islink(object) or os.path.isfile(object):
639
out = [(filename, 'f') for filename in get_all_files(object)]
640
elif os.path.isdir(object):
0 commit comments