File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ Next release
50
50
* ENH: ANTs JointFusion() (https://github.com/nipy/nipype/pull/1042)
51
51
* ENH: Added csvReader() utility (https://github.com/nipy/nipype/pull/1044)
52
52
* FIX: typo in nipype.interfaces.freesurfer.utils.py Tkregister2 (https://github.com/nipy/nipype/pull/1083)
53
+ * FIX: SSHDataGrabber outputs now return full path to the grabbed/downloaded files. (https://github.com/nipy/nipype/pull/1086)
53
54
54
55
Release 0.10.0 (October 10, 2014)
55
56
============
Original file line number Diff line number Diff line change @@ -1775,13 +1775,20 @@ def _list_outputs(self):
1775
1775
outputs [key ].append (list_to_filename (outfiles ))
1776
1776
if self .inputs .download_files :
1777
1777
for f in outfiles :
1778
- sftp .get (os .path .join (filledtemplate_dir , f ), f )
1778
+ try :
1779
+ sftp .get (os .path .join (filledtemplate_dir , f ), f )
1780
+ except IOError :
1781
+ iflogger .info ('remote file %s not found' % f )
1779
1782
if any ([val is None for val in outputs [key ]]):
1780
1783
outputs [key ] = []
1781
1784
if len (outputs [key ]) == 0 :
1782
1785
outputs [key ] = None
1783
1786
elif len (outputs [key ]) == 1 :
1784
1787
outputs [key ] = outputs [key ][0 ]
1788
+
1789
+ for k , v in outputs .items ():
1790
+ outputs [k ] = os .path .join (os .getcwd (), v )
1791
+
1785
1792
return outputs
1786
1793
1787
1794
def _get_ssh_client (self ):
You can’t perform that action at this time.
0 commit comments