Skip to content

Commit

Permalink
Merge pull request #212 from murthylab/viz
Browse files Browse the repository at this point in the history
Bug fix when adding nodes to instance in gui.
  • Loading branch information
ntabris committed Oct 8, 2019
2 parents 56ec310 + c6122f5 commit d00cc4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sleap/gui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1545,7 +1545,7 @@ def doubleClickInstance(self, instance: Instance):
).boundingRect()

for node in self.skeleton.nodes:
if node.name not in instance.node_names or instance[node].isnan():
if node not in instance.nodes or instance[node].isnan():
# pick random points within currently zoomed view
x = (
in_view_rect.x()
Expand Down

0 comments on commit d00cc4d

Please sign in to comment.