From aca37a7ce12ff1afcb2b1ecc571fb054136e7451 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Thu, 24 Oct 2024 11:15:58 +0200 Subject: [PATCH] .. --- tests/benchmark-models/test_petab_model.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/benchmark-models/test_petab_model.py b/tests/benchmark-models/test_petab_model.py index c4ec2f5dd2..125a046a5e 100755 --- a/tests/benchmark-models/test_petab_model.py +++ b/tests/benchmark-models/test_petab_model.py @@ -25,6 +25,7 @@ simulate_petab, ) from petab.v1.visualize import plot_problem +from petab.v1.lint import measurement_table_has_timepoint_specific_mappings logger = get_logger(f"amici.{__name__}", logging.WARNING) @@ -115,7 +116,11 @@ def main(): # load PEtab files problem = petab.Problem.from_yaml(args.yaml_file_name) - petab.flatten_timepoint_specific_output_overrides(problem) + + if measurement_table_has_timepoint_specific_mappings( + problem.measurement_df + ): + petab.flatten_timepoint_specific_output_overrides(problem) # load model if args.model_directory: