We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0e81a6 + 00690a5 commit e1c898aCopy full SHA for e1c898a
neo/rawio/spikeglxrawio.py
@@ -298,6 +298,9 @@ def scan_files(dirname):
298
info["bin_file"] = str(bin_filename)
299
info_list.append(info)
300
301
+ if len(info_list) == 0:
302
+ raise FileNotFoundError(f"No appropriate combination of .meta and .bin files were detected in {dirname}")
303
+
304
# the segment index will depend on both 'gate_num' and 'trigger_num'
305
# so we order by 'gate_num' then 'trigger_num'
306
# None is before any int
0 commit comments