Skip to content

Commit

Permalink
Fix lhapdf path in sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Nov 18, 2021
1 parent e36835d commit a37c157
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions benchmarks/runners/sandbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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):

Expand Down

0 comments on commit a37c157

Please sign in to comment.