Skip to content

Commit 645c633

Browse files
authored
Merge pull request #293 from alejoe91/fix-open-ephys-custom-probes
Fix open-ephys load with serial number as custom probe name
2 parents 47140d3 + 33b689a commit 645c633

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/probeinterface/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1807,7 +1807,7 @@ def read_openephys(
18071807
"Use one of 'stream_name', 'probe_name', " "or 'serial_number'"
18081808
)
18091809
for probe_idx, probe_info in enumerate(np_probes_info):
1810-
if probe_info["name"] in stream_name:
1810+
if probe_info["name"] in stream_name or probe_info["serial_number"] in stream_name:
18111811
found = True
18121812
break
18131813
if not found:

0 commit comments

Comments
 (0)