Skip to content

Commit 1db5495

Browse files
committed
3dAllineate interface out_matrix output file handling fixed.
1 parent cc9918c commit 1db5495

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)