Opened 9 years ago

Closed 9 years ago

#348 closed defect (fixed)

opening 1a0s gives traceback and no cartoons shown

Reported by: Elaine Meng Owned by: Conrad Huang
Priority: critical Milestone:
Component: Depiction Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The problem appears to be in generating cartoons (ribbons).

open 1a0s
Error processing trigger "graphics update"
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/atomic/ribbon.py", line 542, in assign
r_front, r_back = self.transitions[(rc0, rc1, rc2)]
KeyError: (3, 4, 4)

During handling of the above exception, another exception occurred:

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/triggerset.py", line 114, in invoke
return self._func(self._name, data)
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 262, in _update_graphics_if_needed
self._create_ribbon_graphics()
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 517, in _create_ribbon_graphics
f, b = self.ribbon_xs_mgr.assign(rc0, rc1, rc2)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/atomic/ribbon.py", line 545, in assign
raise RuntimeError("unsupported transition %d-%d-%d" % (rc0, rc1, rc2))
RuntimeError: unsupported transition 3-4-4
Opened mmCIF data containing 9939 atoms and 9849 bonds

Change History (1)

comment:1 by Conrad Huang, 9 years ago

Resolution: fixed
Status: newclosed

Fixed in 3af8e272. The problem is that there are residues which are marked as both strands and helices. Worse, these residues are each given a unique secondary structure ID, so they are not considered part of either the helix/strand before/after it. The code was made to render these one-residue secondary structure elements as coils.

Note: See TracTickets for help on using tickets.