Whilst I am looking into this (not too obvious just from the email), the quick solution is to put your coot.py file in your C:/WinCoot/.coot-preferences directory. It should be read in from there.
B > Hi, > > This is probably more a question for Bernhard: > > After upgrading to Windows 7 I am no longer able to read in a custom coot.py > located in a startup directory outside of the WinCOOT directory. > The error message is as follows > > Coot Python Scripting GUI code found and loaded. > WARNING:: no directory "C" in COOT_PYTHON_EXTRAS_DIR C:\COOT-Startup > WARNING:: no directory "\COOT-Startup" in COOT_PYTHON_EXTRAS_DIR > C:\COOT-Startup > INFO:: loading preferences file > C:\WinCoot/.coot-preferences/coot_preferences.py > > Running python script C:/WinCoot/.coot-preferences/coot_preferences.py > > The relevant setting in runwincoot.bat is: > set COOT_PYTHON_EXTRAS_DIR=C:\COOT-Startup > > I tried various iterations of C:\\; C://; C::/ to get Python separate the > drive component from the directory component but to no avail. I even placed > the COOT-Startup directory in the WinCOOT folder and used > set COOT_PYTHON_EXTRAS_DIR=%COOT_PREFIX%\COOT-Startup > but still nothing works. > > BTW I am using CMD.exe, but it does not work under PowerShell either. > > Any insights? > > Thanks > > Carsten > -- *************************************************** 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]
