Skip to content

Commit 797801e

Browse files
committed
ensure absolute path to components file
1 parent e957e87 commit 797801e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nipype/algorithms/confounds.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,8 @@ def _run_interface(self, runtime):
610610
delimiter='\t',
611611
header='\t'.join(components_header),
612612
comments='')
613-
self._results['components_file'] = components_file
613+
self._results['components_file'] = os.path.abspath(
614+
self.inputs.components_file)
614615

615616
save_pre_filter = self.inputs.save_pre_filter
616617
if save_pre_filter:

0 commit comments

Comments
 (0)