From d5a48f9092beb2f9100ad19bed9145d4e61d2188 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Laurenti?= Date: Mon, 19 Jun 2023 15:05:21 +0200 Subject: [PATCH] Check installation of error pdf in test --- validphys2/src/validphys/tests/photon/test_compute.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/validphys2/src/validphys/tests/photon/test_compute.py b/validphys2/src/validphys/tests/photon/test_compute.py index 948ed3d3db..b7942cf468 100644 --- a/validphys2/src/validphys/tests/photon/test_compute.py +++ b/validphys2/src/validphys/tests/photon/test_compute.py @@ -10,14 +10,17 @@ from validphys.core import PDF as PDFset from validphys.photon import structure_functions as sf from validphys.photon.compute import Alpha, Photon, FIATLUX_DEFAULT +from validphys.loader import FallbackLoader from ..conftest import PDF TEST_THEORY = API.theoryid(theoryid=398) +# check if "LUXqed17_plus_PDF4LHC15_nnlo_100" is installed +FallbackLoader().check_pdf("LUXqed17_plus_PDF4LHC15_nnlo_100") FIATLUX_RUNCARD = { "luxset": PDFset(PDF), - "additional_errors": API.pdf(pdf='LUXqed17_plus_PDF4LHC15_nnlo_100'), + "additional_errors": PDFset('LUXqed17_plus_PDF4LHC15_nnlo_100'), "luxseed": 123456789, "eps_base": 1e-2, # using low precision to speed up tests }