Skip to content

Commit

Permalink
Fix bug in hierarchy generation
Browse files Browse the repository at this point in the history
  • Loading branch information
cgokmen committed Jan 18, 2024
1 parent b7e78fa commit 6848e67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bddl/data_generation/get_hierarchy_full.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def add_igibson_objects(node, synset_to_cat, synset_to_substance):
'''
if node["name"] in synset_to_cat:
node["categories"] = sorted(synset_to_cat[node["name"]])
if node["name"] in synset_to_substance:
node["substances"] = sorted(synset_to_substance[node["name"]])

if "children" in node:
Expand Down

0 comments on commit 6848e67

Please sign in to comment.