You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When types are validated, if the same type is written with different cases (e.g., sometimes capitalized sometimes not), the parser throws an error.
The specific error happens at line 228 of pddl/_validation.py in the _check_types_are_available function.
def_check_types_are_available(
self, type_tags: Collection[name_type], what: str
) ->None:
"""Check that the types are available in the domain."""ifnotself._types.all_types.issuperset(type_tags):
raisePDDLValidationError(
f"types {sorted(type_tags)} of {what} are not in available types {self._types.all_types}"
)
Subject of the issue
When types are validated, if the same type is written with different cases (e.g., sometimes capitalized sometimes not), the parser throws an error.
The specific error happens at line 228 of
pddl/_validation.py
in the_check_types_are_available
function.Steps to reproduce
Minimal example to reproduce the error:
PDDL domain:
PDDL problem:
Actual behaviour
The text was updated successfully, but these errors were encountered: