Sessions

A Chimera session (the state of Chimera during use) can be saved and restored. A session file consists of Python code that reconstitutes the state of Chimera by displaying data and performing other operations.

Molecular coordinate and sequence alignment data are included in the session file; however, volume data files must still be present to restart a session in which they were open. When a session with volume data is restarted, the user may be queried about file location(s) if the data or the session file have been moved since the session was saved.

Ways to save a session:

Ways to restart a session: If a session includes a structure that has duplicate atom names within the same residue, it will not restore correctly. Opening a session will not close any existing models. File... Close Session can be used to clear the contents of the existing session without exiting from Chimera.

Opening a session file creates a compiled version of the file (binary) with the same name except *.pyc instead of *.py. The binary speeds up session restoration and will be used (if present) even when the *.py file has been specified. Further, opening the *.pyc file directly will start the session even if the *.py file has been deleted. However, keeping the *.py file is recommended:

Information that is saved includes:

Information that is not saved includes:


UCSF Computer Graphics Laboratory / February 2006