Hi Mark,

Hmm.  PyMOL attempts to migrate old settings into the new model, but it
isn't perfect and one may need to fiddle with the various settings after
migration.  We'll need a new feature to reinitialize settings without
deleting content so thanks for the suggestion!  In the meantime, you can
do something like this:

from chempy import io
sess=io.pkl.fromFile("old_session.pse")
del sess['settings']
io.pkl.toFile(sess,"new_session.pse")

load new_session.pse

which will load the old session with new default settings.

Cheers,
Warren

--
Warren L. DeLano, Ph.D.                     
Principal Scientist

. DeLano Scientific LLC  
. 400 Oyster Point Blvd., Suite 213           
. South San Francisco, CA 94080 USA   
. Biz:(650)-872-0942  Tech:(650)-872-0834     
. Fax:(650)-872-0273  Cell:(650)-346-1154
. mailto:war...@delsci.com      
 

> -----Original Message-----
> From: pymol-users-ad...@lists.sourceforge.net 
> [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of 
> Mark A Saper
> Sent: Tuesday, February 28, 2006 11:12 AM
> To: Pymol
> Subject: [PyMOL] Set all settings to default
> 
> 0.99 and 0.98 have different ray tracing and lighting models. 
>  When I read an old .pse file into .99, are the settings in 
> the old file converted to the new style?  Is there a way to 
> reset all of the settings to default values, without 
> modifying the objects themselves?
> 
> Thanks,
> Mark
> _________________________________
> Mark A. Saper, Ph.D.
> Associate Professor of Biological Chemistry Biophysics 
> Research Division, University of Michigan Chemistry Building 
> Room 3040 930 N University Ave Ann Arbor MI 48109-1055 U.S.A.
> 
> sa...@umich.edu        (734) 764-3353        fax (734) 764-3323
> http://www.biochem.med.umich.edu/biochem/research/profiles/saper.html
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking 
> scripting language that extends applications into web and 
> mobile media. Attend the live webcast and join the prime 
> developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&;
> dat=121642
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> 
> 
> 
> 

Reply via email to