Skip to content

Commit

Permalink
Merge pull request #198 from e-cal/remove-lifted-fluent-restriction
Browse files Browse the repository at this point in the history
Remove lifted fluent restriction when extracting lifted model
  • Loading branch information
haz authored Jun 19, 2023
2 parents 56d5cb0 + 19cfe0f commit 57ec53d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions macq/extract/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,7 @@ def to_pddl(
if not problem_filename:
problem_filename = problem_name + ".pddl"

if (
isinstance(list(self.fluents)[0], LearnedLiftedFluent) and
isinstance(list(self.actions)[0], LearnedLiftedAction) # fmt: skip
):
if isinstance(list(self.actions)[0], LearnedLiftedAction):
self.to_pddl_lifted(
domain_name, problem_name, domain_filename, problem_filename
)
Expand Down

0 comments on commit 57ec53d

Please sign in to comment.