@@ -654,7 +654,9 @@ def test_guides_include_close():
654
654
# Force include the faint 4 stars that are also close together
655
655
include_ids = [21 , 22 , 23 , 24 ]
656
656
cat2 = get_guide_catalog (
657
- ** mod_std_info (n_guide = 5 ), stars = stars , include_ids_guide = include_ids ,
657
+ ** mod_std_info (n_guide = 5 ),
658
+ stars = stars ,
659
+ include_ids_guide = include_ids ,
658
660
)
659
661
660
662
# Run the cluster checks and confirm all 3 fail
@@ -788,12 +790,16 @@ def test_guide_faint_mag_limit():
788
790
# Select stars at 0.1 degC colder than reference temperature, use previous default of
789
791
# dyn_bgd_n_faint=0 for this test, expect 5 stars selected
790
792
guides = get_guide_catalog (
791
- ** mod_std_info (t_ccd = GUIDE .ref_faint_mag_t_ccd - 0.1 , dyn_bgd_n_faint = 0 ), stars = stars , dark = DARK40
793
+ ** mod_std_info (t_ccd = GUIDE .ref_faint_mag_t_ccd - 0.1 , dyn_bgd_n_faint = 0 ),
794
+ stars = stars ,
795
+ dark = DARK40 ,
792
796
)
793
797
assert np .all (guides ["id" ] == ids )
794
798
795
799
# Select stars at 0.1 degC warmer than reference temperature, expect 4 stars selected
796
800
guides = get_guide_catalog (
797
- ** mod_std_info (t_ccd = GUIDE .ref_faint_mag_t_ccd + 0.1 , dyn_bgd_n_faint = 0 ), stars = stars , dark = DARK40 ,
801
+ ** mod_std_info (t_ccd = GUIDE .ref_faint_mag_t_ccd + 0.1 , dyn_bgd_n_faint = 0 ),
802
+ stars = stars ,
803
+ dark = DARK40 ,
798
804
)
799
805
assert np .all (guides ["id" ] == [1 , 2 , 3 , 4 ])
0 commit comments