#574 closed defect (fixed)
cofr problem after matchmaker
Reported by: | Elaine Meng | Owned by: | Tom Goddard |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Graphics | Version: | |
Keywords: | Cc: | Eric Pettersen | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
open 2gbp
open 2fw0
mm #2 to #1
...OK so far, but traceback when trying to rotate with the mouse. Does not occur without first using matchmaker.
Traceback (most recent call last):
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/ui/mousemodes.py", line 336, in <lambda>
gw.mouseMoveEvent = lambda e, s=self: s._dispatch_mouse_event(e, "mouse_drag")
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/ui/mousemodes.py", line 276, in _dispatch_mouse_event
f(MouseEvent(event))
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/ui/mousemodes.py", line 519, in mouse_drag
self.rotate(axis, angle)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/ui/mousemodes.py", line 530, in rotate
v.rotate(saxis, angle, self.models())
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/graphics/view.py", line 826, in rotate
center = self.center_of_rotation
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/graphics/view.py", line 616, in _get_cofr
cofr = self._compute_center_of_rotation()
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/graphics/view.py", line 641, in _compute_center_of_rotation
p = self._front_center_cofr()
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/graphics/view.py", line 678, in _front_center_cofr
cr = self._front_center_point() # Can be None
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/graphics/view.py", line 684, in _front_center_point
exclude=lambda d: hasattr(d, 'no_cofr') and d.no_cofr)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/graphics/view.py", line 698, in first_intercept
p = self.drawing.first_intercept(xyz1, xyz2, exclude=exclude)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/graphics/drawing.py", line 813, in first_intercept
p = self.first_intercept_children(self.child_drawings(), mxyz1, mxyz2, exclude)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/graphics/drawing.py", line 829, in first_intercept_children
p = d.first_intercept(cxyz1, cxyz2, exclude)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/atomic/structure.py", line 1439, in first_intercept
if not self.display or (exclude and hasattr(self, exclude)):
TypeError: hasattr(): attribute name must be string
TypeError: hasattr(): attribute name must be string
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/atomic/structure.py", line 1439, in first_intercept
if not self.display or (exclude and hasattr(self, exclude)):
See log for Python traceback.
Change History (2)
comment:1 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:2 by , 8 years ago
Component: | Unassigned → Graphics |
---|
Fixed a few days ago, but I guess we have not had a working daily build since that fix.