Skip to content

Commit

Permalink
Start-tasks: set prereqs, not trigger.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoliver committed Dec 17, 2024
1 parent 6a4ec1b commit 57668e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cylc/flow/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -837,8 +837,10 @@ def _load_pool_from_tasks(self):
"""Load task pool with specified tasks, for a new run."""
LOG.info(f"Start task: {self.options.starttask}")
# flow number set in this call:
self.pool.force_trigger_tasks(
self.pool.set_prereqs_and_outputs(

Check warning on line 840 in cylc/flow/scheduler.py

View check run for this annotation

Codecov / codecov/patch

cylc/flow/scheduler.py#L840

Added line #L840 was not covered by tests
self.options.starttask,
outputs=[],
prereqs=["all"],
flow=[FLOW_NEW],
flow_descr=f"original flow from {self.options.starttask}"
)
Expand Down

0 comments on commit 57668e6

Please sign in to comment.