Skip to content

Commit c376138

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a6d8ea4 commit c376138

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/probeinterface/probe.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -945,9 +945,8 @@ def from_dict(d: dict) -> "Probe":
945945
"""
946946
probe = Probe(ndim=d["ndim"], si_units=d["si_units"])
947947

948-
949-
shank_ids=d.get("shank_ids", None)
950-
if shank_ids is not None and np.all(shank_ids == ''):
948+
shank_ids = d.get("shank_ids", None)
949+
if shank_ids is not None and np.all(shank_ids == ""):
951950
# backward compatible hack with previous version
952951
shank_ids = None
953952

0 commit comments

Comments
 (0)