Coverage for tests/config/config.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.2.1, created at 2023-03-12 03:54 -0700

1# TODO DM-17597: Use the astrometrySourceSelector until we redo the refcats and metrics. 

2# Once we do that, we can try using the sourceSelector defaults and recompute all 

3# the metrics to match, though it may result in problems due to not having enough sources 

4# because the testdata is generally fainter than the HSC/LSST data that the defaults 

5# are now designed for. 

6config.sourceSelector.name = "astrometry" 

7config.sourceSelector["astrometry"].sourceFluxType = "Calib" 

8config.sourceSelector["astrometry"].badFlags.extend(["slot_Shape_flag", "base_PixelFlags_flag_interpolated"])