Skip to content

Commit b918c74

Browse files
committed
Fix long comment
1 parent 1348def commit b918c74

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

proseco/catalog.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,9 @@ def _get_aca_catalog(**kwargs):
154154

155155
if aca.optimize:
156156
aca.log("Starting optimize_acqs_fids")
157-
aca.optimize_acqs_fids(initial_guide_cands=initial_guide_cands.to_table(), **kwargs)
157+
aca.optimize_acqs_fids(
158+
initial_guide_cands=initial_guide_cands.to_table(), **kwargs
159+
)
158160

159161
aca.acqs.fid_set = aca.fids["id"]
160162

proseco/guide.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def get_guide_catalog(obsid=0, initial_guide_cands=None, **kwargs):
151151
:param n_guide: number of guide stars to attempt to get
152152
:param fids: selected fids (used for guide star exclusion)
153153
:param stars: astropy.Table of AGASC stars (will be fetched from agasc if None)
154-
:param initial_guide_cands: Table of initial guide candidates from get_guide_candidates().to_table()
154+
:param initial_guide_cands: Astropy Table of initial guide candidates
155155
(if None, a new one is created)
156156
:param include_ids: list of AGASC IDs of stars to include in guide catalog
157157
:param exclude_ids: list of AGASC IDs of stars to exclude from guide catalog

proseco/tests/test_guide.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,10 @@ def test_filter_candidates_for_monitors():
991991

992992
initial_guide_cands = get_guide_candidates(stars=stars, **args)
993993
guide_with_mons = get_guide_catalog(
994-
stars=stars, initial_guide_cands=initial_guide_cands.to_table(), mons=mons, **args
994+
stars=stars,
995+
initial_guide_cands=initial_guide_cands.to_table(),
996+
mons=mons,
997+
**args,
995998
)
996999
# The monitor window with MON_TRACK should exclude the star
9971000
assert 1001 not in guide_with_mons.cand_guides["id"]
@@ -1097,7 +1100,10 @@ def test_initial_guide_candidate_reuse_with_fids():
10971100
initial_guide_cands = get_guide_candidates(stars=stars, **kwargs)
10981101

10991102
guides_with_fids = get_guide_catalog(
1100-
stars=stars, initial_guide_cands=initial_guide_cands.to_table(), fids=fids, **kwargs
1103+
stars=stars,
1104+
initial_guide_cands=initial_guide_cands.to_table(),
1105+
fids=fids,
1106+
**kwargs,
11011107
)
11021108
assert 1001 not in guides_with_fids["id"]
11031109

@@ -1140,7 +1146,9 @@ def test_process_include_ids_columns():
11401146
include_ids_guide=[999999], # Force include the faint star
11411147
)
11421148

1143-
guides = get_guide_catalog(stars=stars, initial_guide_cands=guide_cands.to_table(), **kwargs)
1149+
guides = get_guide_catalog(
1150+
stars=stars, initial_guide_cands=guide_cands.to_table(), **kwargs
1151+
)
11441152

11451153
# Verify the star was included
11461154
assert 999999 in guides.cand_guides["id"]

0 commit comments

Comments
 (0)