#198 closed task (fixed)
finish session molecular data save/restore
Reported by: | Elaine Meng | Owned by: | Conrad Huang |
---|---|---|---|
Priority: | blocker | Milestone: | Alpha Release |
Component: | Core | Version: | |
Keywords: | Cc: | Greg Couch, Tom Goddard, pett | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description (last modified by )
Until finished, molecular structure save/restore produces a traceback.
Attachments (1)
Change History (12)
by , 10 years ago
Attachment: | junk.cxs.gz added |
---|
comment:1 by , 10 years ago
Description: | modified (diff) |
---|---|
Status: | new → accepted |
Summary: | traceback opening session saved with molecule → finish session molecular data save/restore |
Type: | defect → task |
comment:2 by , 10 years ago
Component: | Molecular Data → Core |
---|
comment:3 by , 10 years ago
Cc: | added; removed |
---|---|
Owner: | changed from | to
Status: | accepted → assigned |
comment:4 by , 9 years ago
Milestone: | → Alpha Release |
---|
comment:5 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I made a first pass using Python-level code to save ribbon attributes. Eric fixed it by moving the attribute-saving code into C++ where it belongs.
comment:6 by , 9 years ago
Well, I only did Python->C++ for the attributes that I saw that Conrad had added to Python session saving. Namely:
ribbon orientation
show spline
tether shape
tether sides
mode helix
mode strand
Clearly there should be a bunch more (e.g. cross section). Either I missed where Conrad put them in the Python or Conrad didn't actually add them to session saving. Conrad?
comment:8 by , 9 years ago
Conrad sez he started with attributes that live in the C++ layer. So the Python-only attributes (such as cross section) haven't been done.
--Eric
comment:9 by , 9 years ago
The cross section stuff are now done. I didn't see any other ribbon-related attributes, but I'm leaving this ticket open so that someone can speak up in case I missed something.
comment:10 by , 9 years ago
If by cross-section stuff you mean only the xsection value, there’s also width and thickness that can be different for helix, strand, coil, and nucleic within a model, and the single-value per model settings: arrows (Bool), arrowsHelix (Bool), arrowScale, sides, barSides, barScale, see http://rbvi.ucsf.edu/chimerax/docs/user/commands/cartoon.html#style I think Eric already listed all the tether stuff, though.
follow-up: 10 comment:11 by , 9 years ago
No. cross section stuff includes all of that. The "XSectionManager" class took care of converting all those parameters into a single set of coordinates for each type of cross section. Eric helped me add the code to make XSectionManager instances (there is one for each structure) into sessions. Conrad On 2/23/2017 9:52 AM, Elaine Meng wrote:
Re-assigning to Conrad so that he can finish the Python-layer ribbon-related save/restore. I have placed comments in core/atomic/structure.py that start with "#RIBBON" describing the changes to make to actually initiate the save/restore of those values (currently they are simply set to their default values).
--Eric