Commit 2c993be1aab2f96006e9efaaf6f1bc5924a384d7
1 parent
ea467949
Exists in
dev
add real dusk_evel on calculation on sequence ephemeris
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/core/pyros_django/seq_submit/functions.py
... | ... | @@ -480,7 +480,7 @@ def create_sequence_pickle(sequence): |
480 | 480 | eph = guitastro.Ephemeris() |
481 | 481 | eph.set_home(config.getHome()) |
482 | 482 | # duskelev a parametrer dans obsconfig (yml) |
483 | - duskelev = -7 | |
483 | + _, duskelev = config.getDuskElev() | |
484 | 484 | errors = [] |
485 | 485 | try: |
486 | 486 | #fullseq_dict["ephem"] = eph.target2night(fullseq_dict["sequence"]["config_attributes"]["target"], sequence.night_id, None, None, preferance=sequence.start_expo_pref, duskelev=duskelev) | ... | ... |