We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8eaf95 commit 705c0d1Copy full SHA for 705c0d1
src/probeinterface/io.py
@@ -1703,7 +1703,7 @@ def read_openephys(
1703
# In neuropixel plugin 0.7.0, the option for enabling/disabling probes was added.
1704
# Make sure we only keep enabled probes.
1705
if neuropix_pxi_version >= parse("0.7.0") and neuropix_pxi_version < parse("1.0.0dev0"):
1706
- np_probes = [probe for probe in editor.findall("NP_PROBE") if probe.attrib["isEnabled"] == "1"]
+ np_probes = [probe for probe in np_probes if probe.attrib["isEnabled"] == "1"]
1707
if len(np_probes) == 0:
1708
if raise_error:
1709
raise Exception("No enabled probes found in settings")
0 commit comments