Skip to content

Commit

Permalink
fix tm rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengshuLi committed Feb 9, 2024
1 parent 5180863 commit 4a1b1fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bddl/bddl_verification.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 4a1b1fb

Please sign in to comment.