Skip to content

Commit

Permalink
Remove refs to skip_run.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsrabin committed Jun 14, 2024
1 parent 72f1194 commit bbce00e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions cime_config/SystemTests/rxcropmaturity.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def __init__(self, case):
# Which conda environment should we use?
self._get_conda_env()

def _run_phase(self, skip_run=False, skip_gen=False):
def _run_phase(self, skip_gen=False):
# Modeling this after the SSP test, we create a clone to be the case whose outputs we don't
# want to be saved as baseline.

Expand Down Expand Up @@ -177,8 +177,7 @@ def _run_phase(self, skip_run=False, skip_gen=False):
case.set_value("STOP_N", 5)
case.set_value("STOP_OPTION", "ndays")

if not skip_run:
self.run_indv(suffix=None, st_archive=True)
self.run_indv(suffix=None, st_archive=True)
if skip_gen:
# Interpolate an existing GDD file. Needed to check obedience to GDD inputs.
self._run_interpolate_gdds()
Expand All @@ -203,15 +202,13 @@ def _run_phase(self, skip_run=False, skip_gen=False):
]
)

if not skip_run:
self.run_indv()
self.run_indv()

# -------------------------------------------------------------------
# (4) Check Prescribed Calendars run
# -------------------------------------------------------------------
logger.info("RXCROPMATURITY log: output check: Prescribed Calendars")
if not skip_run:
self._run_check_rxboth_run(skip_gen)
self._run_check_rxboth_run(skip_gen)

# Get sowing and harvest dates for this resolution.
def _get_rx_dates(self):
Expand Down
2 changes: 1 addition & 1 deletion cime_config/SystemTests/rxcropmaturityskipgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
class RXCROPMATURITYSKIPGEN(RXCROPMATURITYSHARED):

def run_phase(self):
self._run_phase(skip_run=False, skip_gen=True)
self._run_phase(skip_gen=True)

0 comments on commit bbce00e

Please sign in to comment.