
Hi Connie, A session saves the state, but not how the state was achieved. The command history is saved in your preferences file. You can change the number of commands that is saved (Favorites... Preference, Command Line category), but that has to be done proactively. Once something has fallen off the back end of the history, it is gone, sorry. Depending on what you are trying to do, you may want to take a look at the "mcopy" command. It copies settings from one molecule to another, but requires identical atom/residue names etc. <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/mcopy.html> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco On Aug 26, 2009, at 2:48 PM, Connie Oshiro wrote:
Elaine, et al-- I have a chimera session that was saved a while back (xxx.py). I can open it and view it in chimera. Question: Is there a way to extract/recontruct the commands that were used to create the view that I have? In this case, all commands were executed on the command line.
The history file doesn't go back far enough.
I took a look at the python file and didn't find midas/chimera commands. For example, I know I used "rainbow", with some options for the colors, but I don't see "rainbow" in the .py file.
thanks for any info. connie