Skip to content

Commit

Permalink
Switch to lower case b and c
Browse files Browse the repository at this point in the history
  • Loading branch information
andreab1997 committed Dec 1, 2023
1 parent eff1fab commit c8cf6f3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/pineko/cli/fonll.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ def subcommand(
# Get theory info
tcard = theory_card.load(theoryid)
if tcard["DAMP"] != 0:
if not "DAMPPOWERC" in tcard or not "DAMPPOWERB" in tcard:
raise InconsistentInputsError("If DAMP is set, set also DAMPPOWERB and DAMPPOWERC")
if not "DAMPPOWERc" in tcard or not "DAMPPOWERb" in tcard:
raise InconsistentInputsError("If DAMP is set, set also DAMPPOWERb and DAMPPOWERc")
else:
tcard["DAMPPOWERB"] = None
tcard["DAMPPOWERC"] = None
tcard["DAMPPOWERb"] = None
tcard["DAMPPOWERc"] = None
# Getting the paths to the grids
grids_name = grids_names(configs.configs["paths"]["ymldb"] / f"{dataset}.yaml")
for grid in grids_name:
Expand Down Expand Up @@ -152,7 +152,7 @@ def subcommand(
)
),
theoryid,
damp=(tcard["DAMP"], tcard["DAMPPOWERC"], tcard["DAMPPOWERB"]),
damp=(tcard["DAMP"], tcard["DAMPPOWERc"], tcard["DAMPPOWERb"]),
cfg=cfg,
)
if new_fk_path.exists():
Expand Down

0 comments on commit c8cf6f3

Please sign in to comment.