Skip to content

Commit dff11fd

Browse files
committed
Hotfix: Use proper list append in create_benchmark_sanity_check_table
gcpy/benchmark/modules/benchmark_funcs.py - In function "create_benchmark_sanity_check_table", replace skip_vars = [SKIP_THESE_VARS, "AREA"] with skip_vars = SKIP_THESE_VARS skip_vars.append("AREA") The former defines a list in which the 1st element is also a list, which results in an error. Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
1 parent 6852c8a commit dff11fd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gcpy/benchmark/modules/benchmark_funcs.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5885,8 +5885,9 @@ def create_benchmark_sanity_check_table(
58855885
)
58865886

58875887
# Variables to skip
5888-
skip_vars = [SKIP_THESE_VARS, "AREA"]
5889-
5888+
skip_vars = SKIP_THESE_VARS
5889+
skip_vars.append("AREA")
5890+
58905891
# ==================================================================
58915892
# Open output file and write header
58925893
# ==================================================================

0 commit comments

Comments
 (0)