Skip to content

Commit e11d0aa

Browse files
committed
preserve defacing_pipeline.log files
1 parent a5221c0 commit e11d0aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/deface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def run_command(cmdstr, logfile):
1313

1414
def rename_afni_workdir(workdir_path):
1515
default_prefix = workdir_path.name.split('.')[1]
16-
required_file_prefixes = ('__work', 'defacing.log')
16+
required_file_prefixes = ('__work', 'defacing_pipeline.log')
1717
to_be_deleted_files = [
1818
str(f) for f in list(workdir_path.parent.glob('*'))
1919
if not (f.name.startswith(required_file_prefixes) or f.name.endswith('QC'))]

0 commit comments

Comments
 (0)