Skip to content

Commit

Permalink
Minor.
Browse files Browse the repository at this point in the history
  • Loading branch information
alecive committed Jul 17, 2018
1 parent c7d4860 commit c5d7ec3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion task_models/json_to_htm.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def build_htm(node):
parent = node['parent']

# Base case, if no children than node is an action
if not node['children']:
if node['attributes']:
agent = [a for a in node['attributes'] if not a == 'highlighted']
return LeafCombination(Action(name=name, agent=agent[0]), idx=idx, parent=parent)

Expand Down
2 changes: 1 addition & 1 deletion visualization/htm/htm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Initialize global variables (I know , it's bad)
var defaultjsonfile = 'icra.json',
var defaultjsonfile = 'full_chair.json',
treedepth = 3,
defaultjsondata = '';

Expand Down

0 comments on commit c5d7ec3

Please sign in to comment.