Skip to content

Commit eb41cb7

Browse files
benedikt-voelkelBenedikt Volkel
andauthored
[RelVa] Fix imported function name (#1481)
Co-authored-by: Benedikt Volkel <benedikt.volkel@cern.ch>
1 parent 070a0f3 commit eb41cb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RelVal/o2dpg_overlay_plots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
o2dpg_release_validation = importlib.util.module_from_spec(spec)
1818
spec.loader.exec_module(o2dpg_release_validation)
1919
sys.modules["o2dpg_release_validation"] = o2dpg_release_validation
20-
from o2dpg_release_validation import only_extract_impl
20+
from o2dpg_release_validation import extract_and_flatten
2121

2222
spec = importlib.util.spec_from_file_location("o2dpg_release_validation_plot", join(O2DPG_ROOT, "RelVal", "utils", 'o2dpg_release_validation_plot.py'))
2323
o2dpg_release_validation_plot = importlib.util.module_from_spec(spec)
@@ -39,7 +39,7 @@ def run(args):
3939
ref_file = None
4040
for i, (input_file, label) in enumerate(zip(args.inputs, args.labels)):
4141

42-
_, config = only_extract_impl(input_file, args.output, label, prefix=i, reference_extracted=ref_file)
42+
_, config = extract_and_flatten(input_file, args.output, label, prefix=i, reference_extracted=ref_file)
4343
if not config:
4444
print(f"ERROR: Problem with input file {input_file}, cannot extract")
4545
return 1

0 commit comments

Comments
 (0)