Skip to content

Commit ad18159

Browse files
Fixing idstepbyrow bug.
1 parent 43fd05a commit ad18159

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pg3_geometry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ def addGroup(corners, columns, labels):
7070
for label in labels_in_col[column]:
7171
(name, offset) = getBankNameAndOffset(label)
7272
panel_name="panel_v2"
73-
idstepbyrow=x_num2
73+
idstepbyrow=y_num2
7474
if label in v3_panels:
7575
panel_name="panel_v3"
76-
idstepbyrow=x_num3
76+
idstepbyrow=y_num3
7777
extra_attrs={"idstart":offset, 'idfillbyfirst':'y', 'idstepbyrow':idstepbyrow}
7878
det = instr.makeDetectorElement(panel_name, root=col, extra_attrs=extra_attrs)
7979
try:

0 commit comments

Comments
 (0)