Skip to content

Commit 2bca6f8

Browse files
committed
Merge pull request #1092 from oesteban/fix/JSONFileSink
Add abspath to json sink output file
2 parents 4d0d309 + 281ff02 commit 2bca6f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1951,7 +1951,7 @@ def _list_outputs(self):
19511951
if not isdefined(self.inputs.out_file):
19521952
out_file = op.abspath('datasink.json')
19531953
else:
1954-
out_file = self.inputs.out_file
1954+
out_file = op.abspath(self.inputs.out_file)
19551955

19561956
out_dict = self.inputs.in_dict
19571957

0 commit comments

Comments
 (0)