Opened 9 years ago

Closed 9 years ago

#641 closed defect (fixed)

Restoring session with atomic model fails

Reported by: Tom Goddard Owned by: Eric Pettersen
Priority: major Milestone: Alpha2
Component: Sessions Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

open 1a0m
save test.cxs
close
open 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.6/lib/python3.6/site-packages/chimerax/core/session.py", line 481, in restore
obj = sm.restore_snapshot(self, data)
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/structure.py", line 1844, in restore_snapshot
Structure.set_state_from_snapshot(s, session, data)
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/atomic/structure.py", line 205, in set_state_from_snapshot
StructureData.restore_state(self, session, datastructure state)
AttributeError: type object 'StructureData' has no attribute 'restore_state'

It seems the StructureData.restore_state() got removed a week ago by the following commit. Surprised no one noticed.

https://www.rbvi.ucsf.edu/trac/ChimeraX/changeset/837bdf92b439e1cad95b7dfc01dc71e8a563dabd/src/core/atomic/molobject.py

Change History (1)

comment:1 by Eric Pettersen, 9 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.