Skip to content
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-18643: Rename referenceSelection to referenceSelector and change default field to "resolved" #98

Merged
merged 2 commits into from Apr 12, 2019

Conversation

erykoff
Copy link
Contributor

@erykoff erykoff commented Apr 10, 2019

The field was called "isresolved" previously due to a miscommunication. This
has been fixed at the same time as updating the config parameter name.

@parejkoj
Copy link
Contributor

Your commit message first line is a bit too long.

@erykoff
Copy link
Contributor Author

erykoff commented Apr 10, 2019

I guess I clean that up in a rebase?

@parejkoj
Copy link
Contributor

Interactive rebase and then r to "reword".

config.processCcd.calibrate.astrometry.referenceSelection.unresolved.name = 'isresolved'
config.processCcd.calibrate.astrometry.referenceSelection.unresolved.minimum = None
config.processCcd.calibrate.astrometry.referenceSelection.unresolved.maximum = 0.5
config.processCcd.calibrate.astrometry.referenceSelector.doUnresolved = True

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having the configs duplicated between ProcessCcd and here could lead to different behaviors between the pipelines if the configs change. Take a look at https://github.com/lsst/obs_subaru/blob/master/config/singleFrameDriver.py for an example of how to handle this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point!

config.processCcd.calibrate.astrometry.referenceSelection.unresolved.name = 'isresolved'
config.processCcd.calibrate.astrometry.referenceSelection.unresolved.minimum = None
config.processCcd.calibrate.astrometry.referenceSelection.unresolved.maximum = 0.5
config.processCcd.calibrate.astrometry.referenceSelector.doUnresolved = True

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

The field was called "isresolved" previously due to a miscommunication.  This
has been fixed at the same time as updating the config parameter name from
referenceSelection to referenceSelector.
@erykoff erykoff merged commit aebabf3 into master Apr 12, 2019
@timj timj deleted the tickets/DM-18643 branch May 12, 2022 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants