Skip to content

Commit b744857

Browse files
committed
add extra check for new spikeglx
1 parent a54c191 commit b744857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/io/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def list_candidate_ios(file_or_folder, ignore_patterns=["*.ini", "README.txt", "
453453

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

0 commit comments

Comments
 (0)