Skip to content

Commit

Permalink
change in to if not None
Browse files Browse the repository at this point in the history
  • Loading branch information
scarlehoff committed May 8, 2024
1 parent 81c6221 commit 8170f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pineko/theory.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def eko(self, name, _grid, tcard):
# from the PTO needed for the PDF evolution (and so by EKO). Here we
# ensure that the PTO used in the EKO calculation reflects the real
# perturbative order of the prescription.
if "PTOEKO" in tcard:
if tcard.get("PTOEKO") is not None:
tcard["PTO"] = tcard["PTOEKO"]
# Keys still needed by eko below
tcard["Qedref"] = tcard["Qref"]
Expand Down

0 comments on commit 8170f63

Please sign in to comment.