Skip to content

Commit

Permalink
Merge pull request #45 from simonsobs/timing-bug
Browse files Browse the repository at this point in the history
don't skip calibration operations we're editing these by hand
  • Loading branch information
kmharrington authored Feb 5, 2024
2 parents e5e46a9 + b270975 commit 19272b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schedlib/policies/sat.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def seq2cmd(self, seq: core.Blocks, t0: dt.datetime, t1: dt.datetime):
print(f"Planning block {block.name}")
print(f"Setup time is {setup_time/60} minutes")
# det setup
if t_cur + dt.timedelta(seconds=setup_time) > block.t1:
if block.subtype == 'cmb' and t_cur + dt.timedelta(seconds=setup_time) > block.t1:
commands += [
"\"\"\"",
f"Note: {block} skipped due to insufficient time",
Expand Down

0 comments on commit 19272b0

Please sign in to comment.