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-22550: Reset filters before defining new filters #190

Merged
merged 2 commits into from Dec 16, 2019
Merged

Conversation

timj
Copy link
Member

@timj timj commented Dec 13, 2019

No description provided.

We have to do this because otherwise two gen 3 instruments
can't have different filters.
@timj timj requested a review from parejkoj December 13, 2019 21:02
@timj
Copy link
Member Author

timj commented Dec 13, 2019

@parejkoj it does make me wonder whether defineFilters should always call reset in the current era of filter singletons.

@timj
Copy link
Member Author

timj commented Dec 13, 2019

This change is needed because LATISS and lsstCam now have different filters and the tests in obs_lsst all break if they are not cleared.

Copy link
Collaborator

@parejkoj parejkoj left a comment

Choose a reason for hiding this comment

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

This seems like the right approach. Thanks for cleaning up that DummyCam thing too.

@timj timj merged commit e91d8c4 into master Dec 16, 2019
@timj timj deleted the tickets/DM-22550 branch December 16, 2019 18:03
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