Skip to content

Commit 87133b1

Browse files
committed
BF: Fix DataFinder bug introduced in d985f67
1 parent b567f2a commit 87133b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ def _run_interface(self, runtime):
812812
root_path.count(os.sep))
813813
#If the max path depth has been reached, clear sub_dirs
814814
#and files
815-
if not max_depth is not None and curr_depth >= max_depth:
815+
if max_depth is not None and curr_depth >= max_depth:
816816
sub_dirs[:] = []
817817
files = []
818818
#Test the path for the curr_dir and all files

0 commit comments

Comments
 (0)