We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b128d5e commit bc1b6c0Copy full SHA for bc1b6c0
src/probeinterface/io.py
@@ -1786,7 +1786,9 @@ def read_openephys(
1786
1787
# Map the positions to the contacts ids
1788
shank_id = shank_ids[i] if shank_number > 1 else 0
1789
- contact_id = int((x_pos - row_stagger - shank_pitch * shank_id) / x_pitch + number_of_columns * y_pos / y_pitch)
+ contact_id = int(
1790
+ (x_pos - row_stagger - shank_pitch * shank_id) / x_pitch + number_of_columns * y_pos / y_pitch
1791
+ )
1792
1793
if shank_number > 1:
1794
contact_ids.append(f"s{shank_id}e{contact_id}")
0 commit comments