Skip to content

Commit

Permalink
builder fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jkirk5 committed Jan 11, 2024
1 parent 66c06fa commit d7f1617
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aviary/subsystems/geometry/geometry_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def report(self, prob, reports_folder, **kwargs):
if self.use_both_geometries:
method = ('FLOPS and GASP methods')
else:
method = self.code_origin + ' method'
method = self.code_origin.value + ' method'
f.write(f'# Geometry: {method}\n')
f.write('## Wing')
write_markdown_variable_table(f, prob, wing_outputs, self.meta_data)
Expand Down
2 changes: 1 addition & 1 deletion aviary/subsystems/mass/mass_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@ def report(self, prob, reports_folder, **kwargs):
]

with open(filepath, mode='w') as f:
method = self.code_origin + '-derived relations'
method = self.code_origin.value + '-derived relations'
f.write(f'# Mass estimation: {method}')
write_markdown_variable_table(f, prob, outputs, self.meta_data)

0 comments on commit d7f1617

Please sign in to comment.