Skip to content

Commit 8c61abf

Browse files
committed
use runtime.prevcwd
1 parent f4c3db7 commit 8c61abf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nipype/pipeline/engine/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ def write_report(node, report_type=None, is_mapnode=False):
189189
'hostname': result.runtime.hostname,
190190
'duration': result.runtime.duration,
191191
'working_dir': result.runtime.cwd,
192+
'prev_wd': getattr(result.runtime, 'prevcwd', '<not-set>'),
192193
}
193194

194195
if hasattr(result.runtime, 'cmdline'):

0 commit comments

Comments
 (0)