Skip to content

Commit

Permalink
Fix open-ephys load with serial number as custom probe name
Browse files Browse the repository at this point in the history
  • Loading branch information
alejoe91 committed Aug 29, 2024
1 parent 47140d3 commit 33b689a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/probeinterface/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -1807,7 +1807,7 @@ def read_openephys(
"Use one of 'stream_name', 'probe_name', " "or 'serial_number'"
)
for probe_idx, probe_info in enumerate(np_probes_info):
if probe_info["name"] in stream_name:
if probe_info["name"] in stream_name or probe_info["serial_number"] in stream_name:
found = True
break
if not found:
Expand Down

0 comments on commit 33b689a

Please sign in to comment.