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-42553: Add check for finite ra/dec in ReferenceSourceSelectorTask #362

Merged
merged 4 commits into from Jan 19, 2024

Conversation

erykoff
Copy link
Contributor

@erykoff erykoff commented Jan 18, 2024

No description provided.

Copy link

@mrawls mrawls left a comment

Choose a reason for hiding this comment

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

Looks great, agreed that this should be a default "on" thing.

@@ -329,6 +330,18 @@ def testUnresolved(self):
self.config.unresolved.maximum = None
self.check((starGalaxy > minimum).tolist())

def testFiniteRaDec(self):
Copy link

Choose a reason for hiding this comment

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

Please add the shortest of docstrings, i.e., "Test that non-finite RA and Dec values are caught."

@erykoff erykoff merged commit e9028ae into main Jan 19, 2024
2 checks passed
@erykoff erykoff deleted the tickets/DM-42553 branch January 19, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants