[chimerax-users] Change the directory for data fetched from databases
Tom Goddard
goddard at sonic.net
Thu Dec 16 14:50:25 PST 2021
Hi Guillaume,
There is no setting to change the location where ChimeraX caches fetched files. It is always
~/Downloads/ChimeraX
On a multi-user workstation is the idea that every person would change the ChimeraX setting to point to a common cache directory? Will people cooperate with that? Each person of course has their own ChimeraX settings. Everyone will also need write access to that directory. There are no site-wide settings in ChimeraX.
You could modify the ChimeraX application file, a file in the distribution (here's the path for Linux)
chimerax/lib/python3.9/site-packages/chimerax/core/fetch.py
making
_cache_dirs = ['/usr/local/chimerax_fetch']
near the top would I think change to use that directory. Of course each time you install a new ChimeraX it would need such a change, and if individual users install their own ChimeraX version it will use ~/Downloads/ChimeraX.
Tom
> On Dec 16, 2021, at 2:08 AM, Guillaume Gaullier via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
>
> Hello,
>
> The documentation for the open command says "Web-fetched data are stored locally in ~/Downloads/ChimeraX/ (where ~ indicates a user's home directory)". Is there a way to change this directory? I couldn’t find one in the settings window, but maybe a command could do that? (in that case I would simply need to add this command to the startup commands).
>
> The use case I have in mind is to share the ChimeraX cache between all accounts on a multi-user workstation (so, relocate the cache at some place like /data/ChimeraX).
>
> Thank you,
>
> Guillaume
>
>
>
>
>
>
>
>
>
> När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/
>
> E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy
>
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
>
More information about the ChimeraX-users
mailing list