Skip to content

Commit

Permalink
Merge pull request #2 from simonsobs/add-alt-range
Browse files Browse the repository at this point in the history
add alt-range rule to default config
  • Loading branch information
guanyilun authored Jul 19, 2023
2 parents d836bb1 + 2f60f95 commit 8000b0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/scheduler_server/configs/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
},
'make-source-scan': {
'preferred_length': 1800,
}
},
'alt-range': {
'alt_range': [20, 90]
},
},
'calibration_targets': ["uranus", "saturn"],
'soft_targets': []
Expand Down
1 change: 0 additions & 1 deletion tests/test_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ def test_basic():
t0 = datetime(2023, 1, 1, 0, 0, 0, tzinfo=timezone.utc)
t1 = datetime(2023, 1, 2, 0, 0, 10, tzinfo=timezone.utc)
cmds = handler.basic_policy(t0, t1, configs.get_default_config('basic'))
assert len(cmds) == 5349

0 comments on commit 8000b0b

Please sign in to comment.