From a37c1574e7e32f370bcd06d8b2e66a0cd6270fa9 Mon Sep 17 00:00:00 2001 From: Alessandro Candido Date: Thu, 18 Nov 2021 09:50:06 +0100 Subject: [PATCH] Fix lhapdf path in sandbox --- benchmarks/runners/sandbox.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/benchmarks/runners/sandbox.py b/benchmarks/runners/sandbox.py index 34c8895bf..476bde91e 100644 --- a/benchmarks/runners/sandbox.py +++ b/benchmarks/runners/sandbox.py @@ -4,7 +4,9 @@ # Our testing playground import copy import pathlib +import subprocess +import lhapdf import numpy as np import yaml from banana.data import cartesian_product @@ -13,6 +15,7 @@ here = pathlib.Path(__file__).parent +lhapdf.pathsPrepend(subprocess.run("lhapdf-config --datadir".split(), capture_output=True).stdout.decode().strip()) class Sandbox(Runner):