Skip to content

Commit

Permalink
[RelVa] Fix imported function name
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Volkel committed Feb 20, 2024
1 parent 9357b8c commit 07df5d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RelVal/o2dpg_overlay_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit 07df5d6

Please sign in to comment.