New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DM-21169: Add corner rafts #145
Conversation
…at TS8 raft nameas are preserved; update test_lsstCam.py with corner raft sensors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine although I have one comment.
|
||
Parameters | ||
---------- | ||
ccdLayout : `list` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This parameter has the wrong name.
|
||
Returns | ||
------- | ||
2-item sequence of floats containing the rotated offsets. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Return should explicitly show each item separately.
else: | ||
doffset = (0.0, 0.0,) | ||
yaw = None | ||
|
||
print(indent(), "%s_%s : " % (raftName, ccdName), file=fd) | ||
print(indent(), "%s_%s : " % (raftName.split('_')[0], ccdName), file=fd) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change still needed? I see that in the commit history the name bounces from R00_W to R00W so I'm not sure if the splitting here is any longer relevant.
The gen3 test splits on _, so there can only be one of those in the full sensor name. This renames R*_W to R*W.
92f5c14
to
060c097
Compare
No description provided.