Skip to content

Commit

Permalink
blacked
Browse files Browse the repository at this point in the history
  • Loading branch information
vigji committed Nov 15, 2024
1 parent cf89ba0 commit 4e7e1b3
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 @@ -1699,7 +1699,7 @@ def read_openephys(
if raise_error:
raise Exception("NP_PROBE field not found in settings")
return None

np_probes = [probe for probe in editor.findall("NP_PROBE") if probe.attrib["isEnabled"] == "true"]
if len(np_probes) == 0:
if raise_error:
Expand Down

0 comments on commit 4e7e1b3

Please sign in to comment.