Skip to content

Commit

Permalink
Fix sequence bounds check for parent tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoliver committed Aug 6, 2020
1 parent 915c6ba commit fbc1f2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cylc/flow/taskdef.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def get_parent_points(self, point):
"""Return the cycle points of my parents, at point."""
parent_points = set()
for seq in self.sequences:
if not seq.is_on_sequence(point):
if not seq.is_valid(point):
continue
if seq in self.dependencies:
# task has prereqs in this sequence
Expand All @@ -155,7 +155,7 @@ def get_abs_triggers(self, point):
"""Return my absolute triggers, if any, at point."""
abs_triggers = set()
for seq in self.sequences:
if not seq.is_on_sequence(point):
if not seq.is_valid(point):
continue
if seq in self.dependencies:
# task has prereqs in this sequence
Expand Down

0 comments on commit fbc1f2d

Please sign in to comment.