Skip to content

Commit 4d01e34

Browse files
committed
Skip hovmoller in main_vs_ctrl
1 parent 83cb090 commit 4d01e34

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

suite/setup.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,9 @@ def main():
9191
shutil.copytree(os.path.join('docs', '_build', 'html'), docs_path)
9292

9393
if mesh == 'oQU240wLI':
94-
generate = "['all', 'no_BGC', 'no_icebergs', 'no_index', 'no_eke', " \
95-
"'no_waves']"
94+
generate = [
95+
'all', 'no_BGC', 'no_icebergs', 'no_index', 'no_eke', 'no_waves'
96+
]
9697
end_year = '10'
9798
ctrl_end_year = '8'
9899
else:
@@ -103,6 +104,9 @@ def main():
103104

104105
if args.run == 'main_vs_ctrl':
105106
end_year = ctrl_end_year
107+
generate.append('no_hovmoller')
108+
109+
generate_string = f"['" + "', '".join(generate) + "']"
106110

107111
sbatch = list()
108112
if account is not None:
@@ -140,7 +144,7 @@ def main():
140144
use_e3sm_unified=use_e3sm_unified, run_name=args.run,
141145
input_base=input_base, simulation=simulation, mesh=mesh,
142146
output_base=output_base, html_base=html_base, out_subdir=out_subdir,
143-
generate=generate, end_year=end_year)
147+
generate=generate_string, end_year=end_year)
144148
with open(config, 'w') as config_file:
145149
config_file.write(config_text)
146150

0 commit comments

Comments
 (0)