Skip to content

Commit 7f1a800

Browse files
authored
Merge pull request #2718 from nipy/oesteban-patch-1
[FIX] Keep profile files with ``remove_unnecessary_outputs = true``
2 parents ffd8cf8 + e6e0625 commit 7f1a800

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nipype/pipeline/engine/utils.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1473,7 +1473,8 @@ def clean_working_directory(outputs,
14731473
needed_files += [path for path, type in input_files if type == 'f']
14741474
for extra in [
14751475
'_0x*.json', 'provenance.*', 'pyscript*.m', 'pyjobs*.mat',
1476-
'command.txt', 'result*.pklz', '_inputs.pklz', '_node.pklz'
1476+
'command.txt', 'result*.pklz', '_inputs.pklz', '_node.pklz',
1477+
'.proc-*',
14771478
]:
14781479
needed_files.extend(glob(os.path.join(cwd, extra)))
14791480
if files2keep:

0 commit comments

Comments
 (0)