Skip to content

Commit

Permalink
change error to warning for old theories
Browse files Browse the repository at this point in the history
  • Loading branch information
scarlehoff committed May 7, 2024
1 parent 8b77b43 commit 3165af6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions nnpdf_data/nnpdf_data/theory.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,9 @@ def _apply_checks(self):
if self.DAMP != 0 and "FONLL" in self.FNS:
# Check the damp powers are being used
if self.DAMPPOWERb is None:
raise TheoryCardError(
"DAMPOWERb key needs to be given when DAMP and FONLL are used"
)
self._raise_or_warn("DAMPOWERb key needs to be given when DAMP and FONLL are used")
if self.DAMPPOWERc is None and self.IC == 0:
raise TheoryCardError(
"DAMPOWERc key needs to be given when DAMP and FONLL are used"
)
self._raise_or_warn("DAMPOWERc key needs to be given when DAMP and FONLL are used")

def find_nf(self, mu):
"""Given a value of q, find the corresponding number of flavours
Expand Down

0 comments on commit 3165af6

Please sign in to comment.