#365 closed defect (fixed)
cartoon linker error
| Reported by: | Elaine Meng | Owned by: | Conrad Huang |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Depiction | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
open 2gbp
carlink long s,h
gives traceback:
cartoon linker long strand,helix
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/cmd_line/gui.py", line 167, in execute
cmd.run(cmd_text)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/commands/cli.py", line 2194, in run
results.append(ci.function(session, kw_args))
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/exp_cmd/cartoon.py", line 349, in cartoon_linker
m.ribbon_xs_mgr.set_transition(*rc, *links)
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 646, in set_transition
self._set_gc_ribbon()
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 830, in _set_gc_ribbon
s._graphics_changed |= self._RIBBON_CHANGE
AttributeError: 'XSectionManager' object has no attribute '_RIBBON_CHANGE'
Change History (2)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Fixed in 07fd9cb/ChimeraX. _RIBBON_CHANGE constant is defined in models, not XSection.
"car link" with space not "carlink" as accidentally typed above. In actuality, I did use the correct command!