Skip to content

Commit

Permalink
fix nondetection count in TestAtlasProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
griffin-h committed Apr 9, 2024
1 parent 40aeeb7 commit 02092e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tom_dataproducts/tests/test_atlas.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ def test_mags_under_SN_cutoff_become_limits(self):
# this is the call under test
photometry = AtlasProcessor()._process_photometry_from_plaintext(self.data_product)

expected_non_detection_count = 9 # known apriori from test data in test_atlas_fp.csv
expected_non_detection_count = 17 # known a priori from test data in test_atlas_fp.csv
self.assertEqual(expected_non_detection_count,
len([datum for datum in photometry if 'limit' in datum.keys()]))

0 comments on commit 02092e8

Please sign in to comment.