-
Notifications
You must be signed in to change notification settings - Fork 0
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
Tickets/DM-47619 Update implementation of the ignore feature in scripts. #169
base: develop
Are you sure you want to change the base?
Conversation
Also: - Minor fix in `BaseTakePTCFlats.get_schema` - Added a `test_configure_ignore` for script `take_ptc_flats_comcam.py`
Also: - Remove default value for the `ignore` attribute in `get_schema()` - Added a `test_configure_ignore` to the script tests
…sGenCam Also: - Remove default value for the `ignore` attribute in `get_schema()` - Update `move_dome()` - Added a `test_configure_ignore` to the script tests
Also: - Remove default value for the `ignore` attribute in `get_schema()` - Added a `test_configure_ignore` to the script tests
Also: - Move the implementation of the ignore feature of MTCS components from the base-class to `TakeTwilightFlatsComCam` and `TakeTwilightFlatsLSSTCam`. - Added a `test_configure_ignore` to the script tests
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.
I have some questions about the changes made in the twilight flats scripts. Can you please clarify?
if hasattr(config, "ignore"): | ||
# Ignoring only specific MTCS components | ||
allowed_ignore = ["mtdome", "mtdometrajectory"] | ||
for comp in map(RemoteGroup._remote_name_to_attr_format, config.ignore): |
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 is using a "private" method from RemoteGroup
. Not sure I understand what is going on here. Can you please clarify?
if hasattr(config, "ignore"): | ||
# Ignoring only specific MTCS components | ||
allowed_ignore = ["mtdome", "mtdometrajectory"] | ||
for comp in map(RemoteGroup._remote_name_to_attr_format, config.ignore): |
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.
Again, this is using a "private" method from RemoteGroup
. Not sure I understand what is going on here. Can you please, clarify?
Update scripts to use the
disable_checks_for_components
method of theRemoteGroup
class.