We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3367be commit 1ae8b32Copy full SHA for 1ae8b32
3 files changed
src/probeinterface/neuropixels_tools.py
@@ -1002,9 +1002,9 @@ def read_openephys(
1002
streams = []
1003
# find probe names (exclude ADC streams)
1004
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)
+ stream = stream_field.attrib["name"]
+ if "ADC" not in stream:
+ streams.append(stream)
1008
1009
probe_names_used = np.unique([stream.split("-")[0] for stream in streams])
1010
else:
0 commit comments