Skip to content

Commit ac238b0

Browse files
committed
Use ncols_per_shank
1 parent 7921fd4 commit ac238b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/probeinterface/neuropixels_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ def read_openephys(
11061106
contact_ids = []
11071107
y_pitch = probe_dict["y_pitch"] # Vertical spacing between the centers of adjacent contacts
11081108
x_pitch = probe_dict["x_pitch"] # Horizontal spacing between the centers of contacts within the same row
1109-
number_of_columns = probe_dict["ncol"]
1109+
number_of_columns = probe_dict["ncols_per_shank"]
11101110
probe_stagger = probe_dict["stagger"]
11111111
shank_number = probe_dict["shank_number"]
11121112

0 commit comments

Comments
 (0)