Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nipype/interfaces/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ def _run_interface(self, runtime):
root_path.count(os.sep))
#If the max path depth has been reached, clear sub_dirs
#and files
if not max_depth is not None and curr_depth >= max_depth:
if max_depth is not None and curr_depth >= max_depth:
sub_dirs[:] = []
files = []
#Test the path for the curr_dir and all files
Expand Down