Skip to content

Commit

Permalink
Merge pull request #71 from NNPDF/scaleinfo_in_yadism
Browse files Browse the repository at this point in the history
make yadism compute save scale info by default
  • Loading branch information
scarlehoff authored Apr 17, 2024
2 parents 7d537f6 + d42563a commit 31f3f41
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/pinefarm/external/yad.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ class Yadism(interface.External):

kind = "DIS"

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def __init__(self, pinecard, theorycard, *args, **kwargs):
# Default to including scale information unless explicitly avoided
theorycard.setdefault("FactScaleVar", True)
theorycard.setdefault("RenScaleVar", True)

super().__init__(pinecard, theorycard, *args, **kwargs)

# load runcards
with open(
Expand Down

0 comments on commit 31f3f41

Please sign in to comment.