Skip to content

Commit

Permalink
maxlambda is only a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
scarlehoff committed Mar 3, 2022
1 parent 686740b commit 28a7605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validphys2/src/validphys/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ def _parse_lagrange_multiplier(self, kind, theoryid, setdict):
lambda_key = "maxlambda"
#Don't allow for old-style runcards with 'poslambda' instead of 'maxlambda'
if "poslambda" in setdict and "maxlambda" not in setdict:
raise ConfigError("The `poslambda` argument has been deprecated in favour of `maxlambda`")
log.warning("The `poslambda` argument has been deprecated in favour of `maxlambda`")
try:
name = setdict["dataset"]
maxlambda = float(setdict[lambda_key])
Expand Down

0 comments on commit 28a7605

Please sign in to comment.