Skip to content

Commit

Permalink
fix outstanding test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Pillinger committed Sep 25, 2024
1 parent ca333ac commit 0199bd5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions cylc/flow/workflow_db_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,10 +328,13 @@ def put_workflow_params(self, schd: 'Scheduler') -> None:
{"key": self.KEY_STOP_TASK, "value": schd.stop_task},
])

# Retrieve raw initial cycle point stored on the config.
value = getattr(schd.config, 'evaluated_icp', None)
# Store raw initial cycle point in the DB.
value = getattr(schd.config, 'evaluated_icp')
value = None if value == 'reload' else value
self.put_workflow_params_1(self.KEY_INITIAL_CYCLE_POINT, value)
self.put_workflow_params_1(
self.KEY_INITIAL_CYCLE_POINT,
value or str(schd.config.initial_point)
)

for key in (
self.KEY_FINAL_CYCLE_POINT,
Expand Down

0 comments on commit 0199bd5

Please sign in to comment.