Skip to content

Commit 1ae8b32

Browse files
committed
Add OneBox Open Ephys support
1 parent e3367be commit 1ae8b32

3 files changed

Lines changed: 4507 additions & 3 deletions

File tree

src/probeinterface/neuropixels_tools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,9 +1002,9 @@ def read_openephys(
10021002
streams = []
10031003
# find probe names (exclude ADC streams)
10041004
for stream_field in stream_fields:
1005-
stream_name = stream_field.attrib["name"]
1006-
if "ADC" not in stream_name:
1007-
streams.append(stream_name)
1005+
stream = stream_field.attrib["name"]
1006+
if "ADC" not in stream:
1007+
streams.append(stream)
10081008
# find probe names (exclude ADC streams)
10091009
probe_names_used = np.unique([stream.split("-")[0] for stream in streams])
10101010
else:

0 commit comments

Comments
 (0)