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-40500: remove now-unnecessary lookupFunctions. #111

Merged
merged 2 commits into from Aug 30, 2023
Merged

Conversation

TallJimbo
Copy link
Member

No description provided.

Following DM-38498 static calibrations *with multiple=False*
connections are now found correctly without any customization by the
task.
@TallJimbo TallJimbo force-pushed the tickets/DM-40500 branch 2 times, most recently from 9ff8052 to 00369d4 Compare August 25, 2023 23:54
This is probably a bit slower than the previous version, because it
can use multiple smaller queries instead of a single larger one
(depending on dimensions).  But it's at most n_detectors or
n_physical_filters extra queries, and that's a small price to pay for
being able to get rid of the special "unbounded" collection.
# For static calibrations, we search with a timespan that has unbounded
# begin and end; we'll get an error if there's more than one match (because
# then it's not static).
timespan = Timespan(begin=None, end=None)
Copy link
Contributor

Choose a reason for hiding this comment

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

This will not be true with a "versioned camera," but as that's been a moving target for multiple years now, I'm happy to defer that issue until it becomes relevant.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, and I no longer think giving actual camera datasets different validity ranges is ever going to be a part of the versioned camera system.

@TallJimbo TallJimbo merged commit 023b260 into main Aug 30, 2023
2 checks passed
@TallJimbo TallJimbo deleted the tickets/DM-40500 branch August 30, 2023 01:20
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

2 participants