Skip to content

Commit

Permalink
Merge pull request #1503 from zm711/list-ios-recursive
Browse files Browse the repository at this point in the history
Add extra recursive step in `list_candidate_ios`
  • Loading branch information
alejoe91 authored Jul 2, 2024
2 parents a54c191 + b744857 commit f01d8cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/io/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ def list_candidate_ios(file_or_folder, ignore_patterns=["*.ini", "README.txt", "

elif file_or_folder.is_dir():
# scan files in folder to determine io type
filenames = [f for f in file_or_folder.glob("*") if f.is_file()]
filenames = [f for f in file_or_folder.glob("**/*") if f.is_file()]
# keep only relevant filenames
filenames = [f for f in filenames if f.suffix and not any([f.match(p) for p in ignore_patterns])]

Expand Down

0 comments on commit f01d8cc

Please sign in to comment.