[PyMOL] default settings

2013-01-30 Thread H. Adam Steinberg
Hi All, PyMol has it's own default settings, many of them are the historically accepted ways to view structures, universally accepted colors, etc. and that is great, because when someone uses the program they have to start with something! :) And I realize most users probably open a pdb, work

Re: [PyMOL] default settings

2013-01-30 Thread Nat Echols
On Wed, Jan 30, 2013 at 8:33 AM, H. Adam Steinberg a...@steinbergs.us wrote: Is there anyway to change the default settings in PyMol so that when I open the program, it is using my specified defaults? or perhaps there is a way a script can automatically be run at startup? Or automatically run

Re: [PyMOL] default settings

2013-01-30 Thread H. Adam Steinberg
This is great, but looks like it's only for Windows? Where would one put this pymolrc.pym file on a Mac? http://www.pymolwiki.org/index.php/Pymolrc On Jan 30, 2013, at 12:12 PM, Nat Echols nathaniel.ech...@gmail.com wrote: On Wed, Jan 30, 2013 at 8:33 AM, H. Adam Steinberg a...@steinbergs.us

Re: [PyMOL] default settings

2013-01-30 Thread Nat Echols
On Wed, Jan 30, 2013 at 10:43 AM, H. Adam Steinberg a...@steinbergs.us wrote: This is great, but looks like it's only for Windows? Where would one put this pymolrc.pym file on a Mac? http://www.pymolwiki.org/index.php/Pymolrc Quoting the wiki: On a linux-type system, this file will be

Re: [PyMOL] default settings

2013-01-30 Thread H. Adam Steinberg
You are correct, if I put the pymolrc.pym file in the user folder, MacPyMol does try to read it when it starts up. However, it errors every time. If I put just this one command in the file and start up PyMol, it comes back with: File /Users/adam/pymolrc.pym, line 1 set auto_zoom = 0

Re: [PyMOL] default settings

2013-01-30 Thread Nat Echols
On Wed, Jan 30, 2013 at 10:56 AM, H. Adam Steinberg a...@steinbergs.us wrote: You are correct, if I put the pymolrc.pym file in the user folder, MacPyMol does try to read it when it starts up. However, it errors every time. If I put just this one command in the file and start up PyMol, it

Re: [PyMOL] default settings

2013-01-30 Thread H. Adam Steinberg
1st, thank you for your patience and help. 2nd, for those who end up trying to also do this… Apple now hides all files in the user folder that start with a period. Therefore, the minute you hit enter after changing the name to .pymolrc, the file disappears. You have to run a third party app

Re: [PyMOL] default settings

2013-01-30 Thread Thomas Holder
Hi Adam and Nat, a few clarifying remarks on this topic: - The leading dot is optional, so everything that starts with .pymolrc or pymolrc will be found by PyMOL. Files with dot take precedence over files without dot. - Files ending on .py (or .pym) will be parsed as python scripts,