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-28439: Converting HiTS2015 repo fails on bad filter #186

Merged
merged 2 commits into from Mar 24, 2021

Conversation

kfindeisen
Copy link
Member

This PR adds filter alias handling to DECam's Gen 2 to Gen 3 conversion code. In particular, this allows both y and Y to be recognized as filter names.

@kfindeisen kfindeisen requested a review from mrawls March 18, 2021 00:33
Copy link
Contributor

@mrawls mrawls left a comment

Choose a reason for hiding this comment

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

This feels like an overly specific workaround for a very niche case (gen2 to gen3 conversion) but, OK, it does fix a thing that was broken.

@kfindeisen
Copy link
Member Author

Agreed on the "overly specific", but I think a more general fix would have required rewriting a large chunk of the converter. 😞

This handler can support DECam-style filter aliases and convert them
correctly to Gen 3.
@kfindeisen kfindeisen merged commit bfe4b77 into master Mar 24, 2021
@kfindeisen kfindeisen deleted the tickets/DM-28439 branch March 24, 2021 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants