Skip to content

Commit

Permalink
chore(face-picking): convert prints to debug logs messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayankur31 committed Sep 30, 2024
1 parent 5a3e4e0 commit f36c1cd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pyneuroml/plot/PlotMorphologyVispy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1831,9 +1831,11 @@ def on_mouse_press(event):
face_idx = (picking_render.view(numpy.uint32) - 1)[1, 1, 0]
picked_face = tuple(mesh._meshdata._faces[face_idx])
picked_seg_id = faces_to_segment[picked_face]
print(f"face id is: {face_idx}")
print(f"face is: {picked_face}")
print(f"corresponding segment is: {picked_seg_id}")

logger.debug(f"face id is: {face_idx}")
logger.debug(f"face is: {picked_face}")
logger.debug(f"corresponding segment is: {picked_seg_id}")

clicked_on_seg(picked_seg_id, cell)

attach_headlight(current_view)
Expand Down

0 comments on commit f36c1cd

Please sign in to comment.