Skip to content

Commit

Permalink
fix minor bug in tree check.
Browse files Browse the repository at this point in the history
  • Loading branch information
srajan-kiyotaka committed Jun 26, 2024
1 parent 997ed84 commit 5c25e01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='TraverseCraft',
version='1.0.0',
version='1.1.0',
author='Srajan Chourasia, Varun Patrikar',
author_email='[email protected], [email protected]',
maintainer='Srajan Chourasia, Varun Patrikar',
Expand Down
2 changes: 1 addition & 1 deletion src/traverseCraft/world.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ def _check_tree_format(self,treeWorldInfo):
# Ensure all nodes in 'adj' and 'goals' are in 'position'
position_keys = set(position.keys())
adj_keys = set(adj.keys())
root_key = set(treeWorldInfo['root'])
root_key = set([treeWorldInfo['root']])
goals_set = set(goals)

if not root_key.issubset(position_keys):
Expand Down

0 comments on commit 5c25e01

Please sign in to comment.