From 4a1b1fb86370f477711789e2d4848709773e9511 Mon Sep 17 00:00:00 2001 From: Chengshu Li Date: Thu, 8 Feb 2024 22:59:38 -0800 Subject: [PATCH] fix tm rules --- bddl/bddl_verification.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bddl/bddl_verification.py b/bddl/bddl_verification.py index 6fea0733..15f4aed3 100644 --- a/bddl/bddl_verification.py +++ b/bddl/bddl_verification.py @@ -713,6 +713,9 @@ def no_duplicate_rule_names(): json_paths = glob.glob(os.path.join(TRANSITION_MAP_DIR, "*.json")) data = [] for jp in json_paths: + # Washer rule is a special case + if "washer" in jp: + continue with open(jp) as f: data.append(json.load(f)) transitions = [rule for rules in data for rule in rules]