Placing a .coot.py file in my \WinCoot installation directory did the
trick. A minor concern is that this file now will be used by anyone
logging on to the Windows PC running wincoot. But I suppose I could
always set COOT_HOME = %HOMEDRIVE%%HOMEPATH%
OK point taken. Maybe I should change over to the Windowsy approach and
use %HOMEDRIVE%%HOMEPATH%. So far I was trying to avoid this for various
reasons. But I will think about it. Maybe for 0.7...
I did manage to get coot loading a pdb file as a C-alpha trace by
placing the statement
graphics_to_ca_representation(0) in the .coot.py file where. I suppose 0
is the number of the molecule. So my question is can this be made
permanent so that when I load another pdb file in the same coot session
it will also only be displayed as a C-alpha trace?
You are right, '0' is the molecule number. Currently there is no way to
do CA representation as default (at least that I know of - Paul?!). At
the moment the easiest I can offer is a keyboard shortcut to change the
representation by Ctrl+Shift scroll. There is other options though (idle
add functions e.g.).
B
On Windows there is no home ($HOME) so I have created a $COOT_HOME (*)
from where everything is read in. $COOT_HOME is the WinCoot
installation directory (i.e. the same as COOT_PREFIX in the batch
file). So e.g. ".coot.py" can be there as is the .coot-preferences
directory.
Note: a '.coot' file will be ignored here as scheme is currently not
enabled on windows. So you always have to use pythonic syntax.
Hope this helps,
B
(*) to avoid conflict with cygwin installations
Hello,
Possibly this has already been answered in the past but does anybody
know where to change default settings on Coot installed on Windows 7?
I'd like to avoid it nagging me about old coot-state files and also have
it display C-aplha trace by default when I load PDB files.
I tried playing around with a .coot file in my home directory but that
seems to be ignored whenever I start up wincoot.
Many thanks,
Rob
--
***************************************************
Dr. Bernhard Lohkamp
Assistant Professor
Div. Molecular Structural Biology
Dept. of Medical Biochemistry and Biophysics (MBB)
Karolinska Institutet
S-17177 Stockholm
Sweden
phone: (+46) 08-52487651
fax: (+46) 08-327626
email: [email protected]