File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments