Skip to content

Commit 3fc3821

Browse files
committed
Merge pull request #15 from sgiavasis/master
3dAllineate out_matrix output file handling fix
2 parents a80756c + 1db5495 commit 3fc3821

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nipype/interfaces/afni/preprocess.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,6 +1350,10 @@ def _list_outputs(self):
13501350
suffix=self.inputs.suffix)
13511351
else:
13521352
outputs['out_file'] = os.path.abspath(self.inputs.out_file)
1353+
1354+
if isdefined(self.inputs.out_matrix):
1355+
outputs['matrix'] = os.path.abspath(os.path.join(os.getcwd(),\
1356+
self.inputs.out_matrix +".aff12.1D"))
13531357
return outputs
13541358

13551359
def _gen_filename(self, name):

0 commit comments

Comments
 (0)