From 07df5d6994859ea066d13e32bfb02bed1589429d Mon Sep 17 00:00:00 2001 From: Benedikt Volkel Date: Tue, 20 Feb 2024 12:37:11 +0100 Subject: [PATCH] [RelVa] Fix imported function name --- RelVal/o2dpg_overlay_plots.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RelVal/o2dpg_overlay_plots.py b/RelVal/o2dpg_overlay_plots.py index 9f9a420b7..12682ca0b 100755 --- a/RelVal/o2dpg_overlay_plots.py +++ b/RelVal/o2dpg_overlay_plots.py @@ -17,7 +17,7 @@ o2dpg_release_validation = importlib.util.module_from_spec(spec) spec.loader.exec_module(o2dpg_release_validation) sys.modules["o2dpg_release_validation"] = o2dpg_release_validation -from o2dpg_release_validation import only_extract_impl +from o2dpg_release_validation import extract_and_flatten spec = importlib.util.spec_from_file_location("o2dpg_release_validation_plot", join(O2DPG_ROOT, "RelVal", "utils", 'o2dpg_release_validation_plot.py')) o2dpg_release_validation_plot = importlib.util.module_from_spec(spec) @@ -39,7 +39,7 @@ def run(args): ref_file = None for i, (input_file, label) in enumerate(zip(args.inputs, args.labels)): - _, config = only_extract_impl(input_file, args.output, label, prefix=i, reference_extracted=ref_file) + _, config = extract_and_flatten(input_file, args.output, label, prefix=i, reference_extracted=ref_file) if not config: print(f"ERROR: Problem with input file {input_file}, cannot extract") return 1