Thanks Bernhard,
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%
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?
Regards,
Rob
On Mar 9 2011, Bernhard Lohkamp wrote:
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