Skip to content

Commit

Permalink
STY: Further simplification
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Markiewicz <effigies@gmail.com>
  • Loading branch information
DimitriPapadopoulos and effigies authored Oct 6, 2024
1 parent f6198ee commit 3ec68b5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions nipype/pipeline/engine/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1485,8 +1485,6 @@ def clean_working_directory(
if f not in needed_files:
if not f.startswith(tuple(needed_dirs)):
files2remove.append(f)
elif not any(f.startswith(dname) for dname in needed_dirs):
files2remove.append(f)
else:
if not str2bool(config["execution"]["keep_inputs"]):
input_files = []
Expand Down

0 comments on commit 3ec68b5

Please sign in to comment.