Skip to content

Commit 87682ae

Browse files
committed
FIX proposed for S3io
When I tried running this code, type(outputs[key]) was never == list or == str, so the method, self.s3tolocal, never got called. When I tried debugging, type(outputs[key]) turned out to be <type 'unicode'>
1 parent e915829 commit 87682ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nipype/interfaces/io.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,9 @@ def _list_outputs(self):
664664
outputs[key][i] = self.s3tolocal(path, bkt)
665665
elif type(outputs[key]) == str:
666666
outputs[key] = self.s3tolocal(outputs[key], bkt)
667+
else:
668+
outputs[key] = self.s3tolocal(outputs[key], bkt)
669+
667670

668671
return outputs
669672

0 commit comments

Comments
 (0)