Skip to content

Commit 9c569d3

Browse files
authored
oephys handle "Experiment"
1 parent 34d4db8 commit 9c569d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/rawio/openephysbinaryrawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ def explore_folder(dirname):
337337
# so no node_name
338338
node_name = ''
339339

340-
block_index = int(root.parents[0].stem.replace('experiment', '')) - 1
340+
block_index = int(root.parents[0].stem.lower().replace('experiment', '')) - 1
341341
if block_index not in all_streams:
342342
all_streams[block_index] = {}
343343
if block_index >= nb_block:

0 commit comments

Comments
 (0)