Skip to content

Commit

Permalink
Skip lines with operator names.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Sep 4, 2023
1 parent 09fabdb commit 576a39b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions driver/portfolios/seq_opt_fdss_2023.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def get_pddl_features(task):

if line == "begin_operator":
in_op = True
next(f) # Skip line with operator name.
elif line == "end_operator":
in_op = False
elif in_op:
Expand Down

0 comments on commit 576a39b

Please sign in to comment.