Dear Paul,
this works for me with small variations - soft link might be better so I
wrote script using os.symlink.
In case if someone would also want to use here is my working startup.py (of
course replace src folder with your preferred location):

import os

try:
    os.symlink('/ccp4/xray/tmp/', 'coot-download')
except:
    pass

Thanks again for the advice!

ср, 22 апр. 2020 г. в 15:52, Paul Emsley <[email protected]>:

>
> On 22/04/2020 14:43, Eugene Osipov wrote:
>
>
> is there a way to specify Coot download directory, like the way I
> can specify backup dir by COOT_BACKUP_DIR?
> I did not find any guidelines in the Coot User Manual.
>
>
>
> No, but that would be just as useful, it seems to me.
>
> You can semi-fake it for the moment by say, having your main coot-download
> in $HOME and then in your working directory:
>
> ln -s $HOME/coot-download coot-download
>
> before starting coot
>
>
> Or you could add it to your ~/.coot-preferences/startup.py
>
>
> import os
>
> try:
>
>    os.link('coot-download', os.path.expanduser('~/coot-download'))
>
> except:
>
>    pass
>
>
> (not tested)
>
>
> Paul.
>
>
>

-- 
Evgenii Osipov
Laboratory for Biocrystallography,
Department of Pharmaceutical Sciences,
KU Leuven O&N2

########################################################################

To unsubscribe from the CCP4BB list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP4BB&A=1

Reply via email to