Closed kosack closed 3 months ago
camera_types is a set, you can't Index it
Can we (also?) raise an actual code warning?
i.e.:
warnings.warn(".from_name methods use pre-defined data that is likely different from the data being analyzed. Access instrument information via the SubarrayDescription instead.")
The docs failure here is real and due to the changes made
@kosack, I added the actual warning now to those methods and made it fail the CI if it occurs unexpectedly.
It's your PR, so you cannot really approve, but please have a look.
@Tobychev please review again :)
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 92.54%. Comparing base (
163b543
) to head (a9cf92f
). Report is 11 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Note that from_name() is not guaranteed to correspond with event data.
Closes #2484