Skip to content

Commit

Permalink
propagate that theoryid is now (correctly) stored as in instead of st…
Browse files Browse the repository at this point in the history
…ring
  • Loading branch information
RoyStegeman committed Jul 30, 2024
1 parent aa580f5 commit f55b1fe
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 @@ -1658,7 +1658,7 @@ def produce_scale_variation_theories(self, theoryid, point_prescription):

scalevarsfor_list = lsv["scale_variations_for"]
# Allowed central theoryids
cent_thids = [str(scalevarsfor_dict["theoryid"]) for scalevarsfor_dict in scalevarsfor_list]
cent_thids = [int(scalevarsfor_dict["theoryid"]) for scalevarsfor_dict in scalevarsfor_list]
if th not in cent_thids:
valid_thids = ", ".join(cent_thids)
raise ConfigError(
Expand Down

0 comments on commit f55b1fe

Please sign in to comment.