Skip to content

Commit ee961a3

Browse files
committed
BF: Fixes for last commit
1 parent 7dcf1d6 commit ee961a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/interfaces/io.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,8 +588,8 @@ class DataFinder(IOBase):
588588

589589
def _match_path(self, target_path):
590590
#Check if we should ignore the path
591-
for ignore_rule in self.ignore_rules:
592-
if ignore_rule.search(target_path)
591+
for ignore_re in self.ignore_regexes:
592+
if ignore_re.search(target_path):
593593
return
594594

595595
#Check if we can match the path

0 commit comments

Comments
 (0)