sot / sparkles

ACA review of star catalogs from proseco
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Factor checks out of ACAReviewTable class #203

Closed taldcroft closed 9 months ago

taldcroft commented 10 months ago

Description

This is to factor out the sparkles checks from being ACAReviewTable methods to independent check functions that return a list of messages. The motivation is to decouple these catalog checks from sparkles and make it easier to run them from starcheck or elsewhere.

Key updates:

The refactoring part is going to be difficult for code review but the tests are solid.

Requires

Interface impacts

Testing

Unit tests

sparkles/tests/test_checks.py ............................................................................ [ 73%] sparkles/tests/test_find_er_catalog.py ..... [ 78%] sparkles/tests/test_review.py .................. [ 96%] sparkles/tests/test_yoshi.py .... [100%]

===================================================== 103 passed in 34.39s =====================================================



Independent check of unit tests by Jean
- [x] Linux

### Functional tests
<!-- Describe and document results of any functional tests, otherwise leave the text below -->
No functional testing.