Skip to content
Snippets Groups Projects

landing_gear_design: - bug fix of maximum nose gear position error

Merged Andi requested to merge feature/landing_gear_design_fixes into develop
3 files
+ 12
5
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -40,6 +40,7 @@ def method_html_report(paths_and_names, routing_dict, data_dict, method_specific
""" Preparation and data extraction."""
# Extract tool and project name.
tool_name = paths_and_names['tool_name']
tool_version = paths_and_names['tool_version']
report_title = (tool_name.replace('_', ' ')).capitalize()
project_name = paths_and_names['name_of_project']
root_of_module_config_tree = paths_and_names['root_of_module_config_tree']
@@ -230,8 +231,13 @@ def method_html_report(paths_and_names, routing_dict, data_dict, method_specific
with tag('div', klass="content"):
with tag('h1'):
text(f"Report - {report_title} of {project_name}")
with tag('br'): # Line break for formatting
pass
with tag('span'):
with tag('font', size="2"):
text(f"All outputs of the program '{tool_name}' were created with version {tool_version}")
with tag('div', klass="container"):
# Data on the left side.
with tag('div', klass="box data"):
@@ -394,7 +400,6 @@ def generate_report_header(doc, tool_name):
doc.stag('meta', name="viewport", content="width=device-width, initial-scale=1.0")
doc.stag('meta', charset="UTF-8")
with doc.tag('title'):
doc.text(tool_name)
doc.text(tool_name)
doc.stag('link', rel="stylesheet", href="style.css")
return
Loading