From 03c149fa518927c67385fcc5efcbbff4820fa70c Mon Sep 17 00:00:00 2001 From: fmalatino <142349306+fmalatino@users.noreply.github.com> Date: Fri, 29 Sep 2023 10:00:08 -0400 Subject: [PATCH] Update fv3core/pace/fv3core/initialization/analytic_init.py Co-authored-by: Florian Deconinck --- fv3core/pace/fv3core/initialization/analytic_init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fv3core/pace/fv3core/initialization/analytic_init.py b/fv3core/pace/fv3core/initialization/analytic_init.py index e8348bba..cbf757e5 100644 --- a/fv3core/pace/fv3core/initialization/analytic_init.py +++ b/fv3core/pace/fv3core/initialization/analytic_init.py @@ -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(