Skip to content

Commit

Permalink
Update cylc/flow/task_pool.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ronnie Dutta <[email protected]>
  • Loading branch information
hjoliver and MetRonnie authored Jul 8, 2022
1 parent 606792a commit c9e276c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cylc/flow/task_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,10 +305,10 @@ def compute_runahead(self, force=False) -> bool:
points: List['PointBase'] = []
if not self.main_pool:
# Start at first point in each sequence, after the initial point.
pts = set()
for seq in self.config.sequences:
pts.add(seq.get_first_point(self.config.start_point))
points = list(pts)
points = list({
seq.get_first_point(self.config.start_point)
for seq in self.config.sequences
})
else:
# Find the earliest point with unfinished tasks.
for point, itasks in sorted(self.get_tasks_by_point().items()):
Expand Down

0 comments on commit c9e276c

Please sign in to comment.