Skip to content

Commit 9df68df

Browse files
merci
Co-authored-by: Alessio Buccino <alejoe9187@gmail.com>
1 parent 9f26792 commit 9df68df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/probeinterface/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def plot_probe(
139139
Limits for z dimension
140140
show_channel_on_click : bool, default: False
141141
If True, the channel information is shown upon click
142-
side : None | "front" | "back
142+
side : None | "front" | "back"
143143
If the probe is two side, then the side must be given otherwise this raises an error.
144144
145145
Returns

src/probeinterface/probe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def set_contacts(
355355
# Check for duplicate positions side by side
356356
contact_sides = np.asarray(contact_sides).astype(str)
357357
for side in ("front", "back"):
358-
mask = contact_sides == "font"
358+
mask = contact_sides == "front"
359359
unique_positions = np.unique(positions[mask], axis=0)
360360
positions_are_not_unique = unique_positions.shape[0] != positions[mask].shape[0]
361361
if positions_are_not_unique:

0 commit comments

Comments
 (0)