Skip to content

Commit

Permalink
Update prompt_parser.py
Browse files Browse the repository at this point in the history
line 142 was commented out - 
We want to return res without sorting or removing duplicates.
  • Loading branch information
Kittensx authored Nov 26, 2024
1 parent 7ed526c commit d3cc69b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prompt_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ def scheduled(self, tree):

# Visit the tree and collect step intervals
CollectSteps().visit(tree)
return sorted(set(res)) # Remove duplicates and sort
#return sorted(set(res)) # Remove duplicates and sort
return res #does not remove duplicates or sort them


def at_step(step, tree):
Expand Down

0 comments on commit d3cc69b

Please sign in to comment.