Skip to content

Commit

Permalink
case.st_archive is special for backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Sep 10, 2024
1 parent ad8d32f commit a86c8f3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CIME/XML/env_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,12 @@ def make_batch_script(self, input_template, job, case, outfile=None):
env_workflow = case.get_env("workflow")

hidden = env_workflow.get_value("hidden", subgroup=job)
if hidden is None or hidden == "True" or hidden == "true":
# case.st_archive is not hidden for backward compatibility
if (
(job != "case.st_archive" and hidden is None)
or hidden == "True"
or hidden == "true"
):
self._hidden_batch_script[job] = True
else:
self._hidden_batch_script[job] = False
Expand Down

0 comments on commit a86c8f3

Please sign in to comment.