Skip to content

Commit 09710b0

Browse files
committed
Ruff
1 parent 81296bb commit 09710b0

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

proseco/tests/test_guide.py

+9-3
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,9 @@ def test_guides_include_close():
654654
# Force include the faint 4 stars that are also close together
655655
include_ids = [21, 22, 23, 24]
656656
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,
658660
)
659661

660662
# Run the cluster checks and confirm all 3 fail
@@ -788,12 +790,16 @@ def test_guide_faint_mag_limit():
788790
# Select stars at 0.1 degC colder than reference temperature, use previous default of
789791
# dyn_bgd_n_faint=0 for this test, expect 5 stars selected
790792
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,
792796
)
793797
assert np.all(guides["id"] == ids)
794798

795799
# Select stars at 0.1 degC warmer than reference temperature, expect 4 stars selected
796800
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,
798804
)
799805
assert np.all(guides["id"] == [1, 2, 3, 4])

0 commit comments

Comments
 (0)