Skip to content

Commit

Permalink
Update fv3core/pace/fv3core/initialization/analytic_init.py
Browse files Browse the repository at this point in the history
Co-authored-by: Florian Deconinck <[email protected]>
  • Loading branch information
fmalatino and FlorianDeconinck authored Sep 29, 2023
1 parent 69fe403 commit 03c149f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fv3core/pace/fv3core/initialization/analytic_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def init_analytic_state(
an instance of DycoreState class
"""
if analytic_init_str in Cases:
if analytic_init_str == "baroclinic":
if analytic_init_str == Cases.baroclinic.value:
import pace.fv3core.initialization.test_cases.initialize_baroclinic as bc

return bc.init_baroclinic_state(
Expand Down

0 comments on commit 03c149f

Please sign in to comment.