From 2c993be1aab2f96006e9efaaf6f1bc5924a384d7 Mon Sep 17 00:00:00 2001 From: pyros_astroguita Date: Fri, 20 Oct 2023 12:59:34 +0200 Subject: [PATCH] add real dusk_evel on calculation on sequence ephemeris --- src/core/pyros_django/seq_submit/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/pyros_django/seq_submit/functions.py b/src/core/pyros_django/seq_submit/functions.py index cc22a22..21a59da 100644 --- a/src/core/pyros_django/seq_submit/functions.py +++ b/src/core/pyros_django/seq_submit/functions.py @@ -480,7 +480,7 @@ def create_sequence_pickle(sequence): eph = guitastro.Ephemeris() eph.set_home(config.getHome()) # duskelev a parametrer dans obsconfig (yml) - duskelev = -7 + _, duskelev = config.getDuskElev() errors = [] try: #fullseq_dict["ephem"] = eph.target2night(fullseq_dict["sequence"]["config_attributes"]["target"], sequence.night_id, None, None, preferance=sequence.start_expo_pref, duskelev=duskelev) -- libgit2 0.21.2