-
Notifications
You must be signed in to change notification settings - Fork 13
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-41724: make dimension record construction more strict #907
Commits on Nov 17, 2023
-
Drop subseconds from Timespan.__str__.
Timespan.__repr__ has complete information, so we can make __str__ a bit more concise while still including the information we tend to care about.
Configuration menu - View commit details
-
Copy full SHA for 2c5a9ac - Browse repository at this point
Copy the full SHA 2c5a9acView commit details -
Make timespans and regions more concise in dimension records query CLI.
Timespan was messy and quite long, and is now concise. Regions were really long and not very useful on the CLI, and are now elided entirely. This drops a test workaround for older astropys and bumps the version in requirements.txt, which is already required in rubin-env.
Configuration menu - View commit details
-
Copy full SHA for 9ccc6f2 - Browse repository at this point
Copy the full SHA 9ccc6f2View commit details -
Fix bad test data in test utils.
datetimeBegin and datetimeEnd have never been recognized as timespan bounds, but DimensionRecord ignores kwargs it doesn't recognize.
Configuration menu - View commit details
-
Copy full SHA for 266cfa8 - Browse repository at this point
Copy the full SHA 266cfa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0b9246 - Browse repository at this point
Copy the full SHA e0b9246View commit details -
Update tests to current visit_system definition in DimensionUniverse.
These had gone unnoticed because DimensionRecord silently ignores kwargs it does not recognize.
Configuration menu - View commit details
-
Copy full SHA for 8c57e6b - Browse repository at this point
Copy the full SHA 8c57e6bView commit details -
Add logic for dropping visit.seeing to YAML import.
This field is no longer part of the default DimensionUniverse but it's present in some old YAML exports we want to continue to support. Right now it's being dropped by virtue of DimensionRecord.__init__ silently ignoring any kwargs it does not recognize, which is not ideal.
Configuration menu - View commit details
-
Copy full SHA for 606a716 - Browse repository at this point
Copy the full SHA 606a716View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6b1ffe - Browse repository at this point
Copy the full SHA a6b1ffeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32800dc - Browse repository at this point
Copy the full SHA 32800dcView commit details