Skip to content
Snippets Groups Projects
Commit a788f20d authored by Florian Schültke's avatar Florian Schültke
Browse files

Merge branch 'bug/post_operation_mission_study' into 'develop'

rce_workflow (schueltke): fix variable naming bug

See merge request !9
parents 08187f5f c7fdb351
No related branches found
No related tags found
2 merge requests!48Initial open source version,!9rce_workflow (schueltke): fix variable naming bug
......@@ -94,10 +94,10 @@ def estimate_mission_study_residuals(paths_and_names, mission_study_variables, c
# read iteration variables
m_take_off_max_study = root_of_aircraft_exchange_tree.find("./analysis/mission/study_mission/takeoff_mass/value")
if m_take_off_max is not None:
m_take_off_max = float(m_take_off_max.text)
if m_take_off_max_study is not None:
m_take_off_max_study = float(m_take_off_max_study.text)
else:
m_take_off_max = 0
m_take_off_max_study = 0
fl_initial_cruise_study = root_of_aircraft_exchange_tree.find(
"./analysis/mission/study_mission/cruise/cruise_steps@ID=0/altitude/value")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment