From 19cfe0f22e043b117dc3d21e5dead1eebc9ea610 Mon Sep 17 00:00:00 2001 From: ecal Date: Fri, 16 Jun 2023 20:46:50 -0400 Subject: [PATCH] Remove lifted fluent restriction when extracting lifted model --- macq/extract/model.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/macq/extract/model.py b/macq/extract/model.py index 875e6483..6c4d7180 100644 --- a/macq/extract/model.py +++ b/macq/extract/model.py @@ -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 )