From d78b1f3c061e0003956f35a07b383e521b04eb54 Mon Sep 17 00:00:00 2001 From: Torsten Sommer Date: Fri, 1 Dec 2023 15:21:02 +0100 Subject: [PATCH] Fix paths --- merge_binaries.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/merge_binaries.py b/merge_binaries.py index 605b50ea..e9416a40 100644 --- a/merge_binaries.py +++ b/merge_binaries.py @@ -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' @@ -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')