-
Notifications
You must be signed in to change notification settings - Fork 20
DM-53177 : Allow 8-char object IDs with backwards compatibility #1179
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
Conversation
erinleighh
left a comment
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.
Looks good! Just some minor docstring changes. (Let's see if I did the multi-line review on Github correctly!)
| Raises | ||
| ------ | ||
| ValueError | ||
| Raised if either objID is longer than 7 characters or flags is greater |
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.
| Raised if either objID is longer than 7 characters or flags is greater | |
| Raised if either objID is shorter than 7 or longer than 8 characters or contains |
| ------ | ||
| ValueError | ||
| Raised if either objID is longer than 7 characters or flags is greater | ||
| than 255 or less than 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.
| than 255 or less than 0. | |
| illegal objID characters. |
| flags : `int`, optional | ||
| Eight free bits to enable future decoupling between Minor Planet Center | ||
| and Rubin. Zero by default, should not be changed unless we need to | ||
| move away from a 1:1 mapping with the MPC. Must be within [0, 255]. |
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.
| flags : `int` | ||
| Rubin flags (not yet defined, but usable in case we decouple from MPC). | ||
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.
5d37dae to
6701121
Compare
6701121 to
567f6d5
Compare
No description provided.