Opened 6 years ago

Closed 6 years ago

#2497 closed defect (fixed)

Session restore with BILD model fails

Reported by: goddard@… Owned by: Greg Couch
Priority: normal Milestone:
Component: Sessions Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-19.0.0-x86_64-i386-64bit
ChimeraX Version: 0.91 (2019-09-27)
Description
Session restore with a BILD model fails.

Log:
UCSF ChimeraX version: 0.91 (2019-09-27)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open /Users/goddard/Desktop/arrow.bild

Opened BILD data containing 1 objects  

> save /Users/goddard/Desktop/test.cxs

> open /Users/goddard/Desktop/test.cxs

Unable to restore session, resetting.  
  
Traceback (most recent call last):  
File
"/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/session.py", line 653, in restore  
obj = sm.restore_snapshot(self, data)  
File
"/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/atomic/shapedrawing.py", line 54, in restore_snapshot  
if any(s.atoms for s in self._shapes):  
NameError: name 'self' is not defined  
  
opened ChimeraX session  




OpenGL version: 4.1 ATI-3.0.68
OpenGL renderer: AMD Radeon Pro Vega 20 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.
File attachment: test.cxs

test.cxs

Attachments (1)

test.cxs (2.7 KB ) - added by goddard@… 6 years ago.
Added by email2trac

Download all attachments as: .zip

Change History (4)

by goddard@…, 6 years ago

Attachment: test.cxs added

Added by email2trac

comment:1 by Tom Goddard, 6 years ago

Component: UnassignedSessions
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionSession restore with BILD model fails

comment:2 by Tom Goddard, 6 years ago

Fixed.

Greg should check this fix to see if my change to his code is correct. Apparently the session save of BILD was never tested so there may be further problems.

comment:3 by Greg Couch, 6 years ago

Resolution: fixed
Status: assignedclosed

Looks good.

Note: See TracTickets for help on using tickets.