Skip to content

Commit 4d96fcc

Browse files
committed
Minor fix to ensure order of ICP vs cycling mode in processed config does not change on reload vs start
1 parent 323cdde commit 4d96fcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cylc/flow/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,10 +685,10 @@ def prelim_process_graph(self) -> None:
685685
all(item in ['graph', '1', 'R1'] for item in graphdict)
686686
):
687687
# Pure acyclic graph, assume integer cycling mode with '1' cycle
688-
self.cfg['scheduling']['cycling mode'] = INTEGER_CYCLING_TYPE
689688
for key in ('initial cycle point', 'final cycle point'):
690689
if key not in self.cfg['scheduling']:
691690
self.cfg['scheduling'][key] = '1'
691+
self.cfg['scheduling']['cycling mode'] = INTEGER_CYCLING_TYPE
692692

693693
def process_utc_mode(self):
694694
"""Set UTC mode from config or from stored value on restart.

0 commit comments

Comments
 (0)