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.
1 parent dfebe06 commit fea322eCopy full SHA for fea322e
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 {print(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