Skip to content

Commit

Permalink
fix early evaluation of var_name, altitude
Browse files Browse the repository at this point in the history
  • Loading branch information
observingClouds authored Nov 26, 2024
1 parent a63502d commit d4480c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def test_get_config_issues():
state_feature:
method: stack_variables_by_var_name
dims: [altitude]
name_format: f"{var_name}{altitude}m"
name_format: f"{{var_name}}{{altitude}}m"
grid_index:
method: stack
dims: [x, y]
Expand All @@ -106,7 +106,7 @@ def test_get_config_issues():
dims: [x, y]
forcing_feature:
method: stack_variables_by_var_name
name_format: f"{var_name}"
name_format: f"{{var_name}}"
target_output_variable: forcing
""".format(
schema_version=testdata.SCHEMA_VERSION
Expand Down

0 comments on commit d4480c0

Please sign in to comment.