Opened 8 years ago
Closed 8 years ago
#681 closed defect (fixed)
Error with partial display of tubes
Reported by: | Eric Pettersen | Owned by: | Conrad Huang |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | Depiction | Version: | |
Keywords: | Cc: | meng@… | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Error from:
open 3jac
~car ~/a:2105-2150
car style model tube
Traceback (most recent call last):
File "/Users/pett/src/chimera2/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/updateloop.py", line 43, in draw_new_frame
view.draw(check_for_changes = False)
File "/Users/pett/src/chimera2/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/graphics/view.py", line 181, in draw
self._update_projection(vnum, camera=camera)
File "/Users/pett/src/chimera2/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/graphics/view.py", line 745, in _update_projection
near, far = self.near_far_distances(c, view_num)
File "/Users/pett/src/chimera2/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/graphics/view.py", line 759, in near_far_distances
near, far = self._near_far_bounds(cp, vd)
File "/Users/pett/src/chimera2/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/graphics/view.py", line 772, in _near_far_bounds
b = self.drawing_bounds()
File "/Users/pett/src/chimera2/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/graphics/view.py", line 574, in drawing_bounds
dm.cached_drawing_bounds = b = self.drawing.bounds()
File "/Users/pett/src/chimera2/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/graphics/drawing.py", line 764, in bounds
dbounds = [d.bounds() for d in self.child_drawings() if d.display]
File "/Users/pett/src/chimera2/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/graphics/drawing.py", line 764, in
dbounds = [d.bounds() for d in self.child_drawings() if d.display]
File "/Users/pett/src/chimera2/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/structure.py", line 1450, in bounds
self._update_graphics_if_needed() # Ribbon bound computed from graphics
File "/Users/pett/src/chimera2/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/structure.py", line 296, in _update_graphics_if_needed
self._create_ribbon_graphics()
File "/Users/pett/src/chimera2/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/structure.py", line 640, in _create_ribbon_graphics
helix_ranges, sheet_ranges)
File "/Users/pett/src/chimera2/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/structure.py", line 889, in _smooth_ribbon
ribbon_adjusts, start, end, p)
File "/Users/pett/src/chimera2/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/structure.py", line 1024, in _arc_helix
num_vertices += 4 * num_ptes
NameError: name 'num_ptes' is not defined
Change History (2)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in 9d58df4. Just a typo.