-
Notifications
You must be signed in to change notification settings - Fork 15
Add support for varying CRPIX in the VaryingTransform models for Cryo data #501
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
base: main
Are you sure you want to change the base?
Conversation
# for asdf standard < 1.6 | ||
if tag.endswith("varying_celestial_transform-1.1.0"): | ||
crpix_key = "crpix" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@braingram how terrible is this? lol
The newer tags have a minimum standard version of 1.6, so our oldest supported asdf writes the old tag.
tags: | ||
# the tag version does not match the schema version | ||
- schema_uri: "asdf://dkist.nso.edu/schemas/varying_celestial_transform-1.2.0" | ||
tag_uri: "asdf://dkist.nso.edu/tags/varying_celestial_transform-1.3.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason these have different version numbers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Presumably because at some point in the past we bumped the tag and not the schema.
@Hyzerputt The downstream tests are failing on this PR, because we raise a deprecation warning on a renamed kwarg. This is an expected failure, but it brings up an interesting point about the workflow for deprecation warnings. They should make the tests fail because they shouldn't pass silently but they also shouldn't break unrelated things. Will having deprecation warnings fail integration tests and other runs which aren't the inventory unit tests? |
Mileage may vary but generally speaking, deprecation warnings don't fail the CI unit or integration tests. |
Related to: