Skip to content

Commit

Permalink
Fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
t-sommer committed Dec 1, 2023
1 parent 7dc41dd commit d78b1f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions merge_binaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def merge_fmus(version):

if model_name in parameters:

output_filename = root / f'dist-{fmpy.system}' / version / f'{model_name}_ref.csv'
output_filename = root / f'dist-{fmpy.platform_tuple}' / version / f'{model_name}_ref.csv'
os.makedirs(tempdir / 'documentation', exist_ok=True)
plot_filename = tempdir / 'documentation' / 'result.svg'

Expand Down Expand Up @@ -137,7 +137,7 @@ def get_unit(variable):
return ''

# generate index.html
model_description = read_model_description(root / f'dist-{fmpy.system}' / version / filename)
model_description = read_model_description(root / f'dist-{fmpy.platform_tuple}' / version / filename)
loader = jinja2.FileSystemLoader(searchpath=root)
environment = jinja2.Environment(loader=loader, trim_blocks=True)
template = environment.get_template('template.html')
Expand Down

0 comments on commit d78b1f3

Please sign in to comment.