Skip to content

Commit

Permalink
Fixing idstepbyrow bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Aug 16, 2013
1 parent 43fd05a commit ad18159
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pg3_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ def addGroup(corners, columns, labels):
for label in labels_in_col[column]:
(name, offset) = getBankNameAndOffset(label)
panel_name="panel_v2"
idstepbyrow=x_num2
idstepbyrow=y_num2
if label in v3_panels:
panel_name="panel_v3"
idstepbyrow=x_num3
idstepbyrow=y_num3
extra_attrs={"idstart":offset, 'idfillbyfirst':'y', 'idstepbyrow':idstepbyrow}
det = instr.makeDetectorElement(panel_name, root=col, extra_attrs=extra_attrs)
try:
Expand Down

0 comments on commit ad18159

Please sign in to comment.