From 374d39cfa403e5fcadb0b74291eef69f9010f20d Mon Sep 17 00:00:00 2001 From: Giacomo Magni <39065935+giacomomagni@users.noreply.github.com> Date: Mon, 20 Nov 2023 12:54:12 +0100 Subject: [PATCH] Update src/yadmark/benchmark/external/apfelpy_utils.py Co-authored-by: Alessandro Candido --- src/yadmark/benchmark/external/apfelpy_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yadmark/benchmark/external/apfelpy_utils.py b/src/yadmark/benchmark/external/apfelpy_utils.py index aa555d76..c6602b8d 100644 --- a/src/yadmark/benchmark/external/apfelpy_utils.py +++ b/src/yadmark/benchmark/external/apfelpy_utils.py @@ -70,7 +70,7 @@ def map_apfelpy_sf(init, observables, fns): if observables["prDIS"] == "CC": if PROJECTILE_PIDS[observables["ProjectileDIS"]] > 0: return MAP_ZM_CC - return ValueError(f"{observables['ProjectileDIS']} not available in Apfel++") + raise ValueError(f"{observables['ProjectileDIS']} not available in Apfel++") if fns == "ZM-VFNS": return MAP_ZM_NC