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
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@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@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
Hi Tom,
This is the use case I had in mind indeed. Model files are small enough that duplication doesn’t matter, but a shared cache for maps could be convenient. I was simply asking in case there was a supported way to achieve this that I had missed in the documentation, but I can absolutely live with the current default.
Thank you for your answer. Cheers,
Guillaume
On 16 Dec 2021, at 23:50, Tom Goddard <goddard@sonic.netmailto:goddard@sonic.net> wrote:
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@cgl.ucsf.edumailto:chimerax-users@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@cgl.ucsf.edumailto:ChimeraX-users@cgl.ucsf.edu Manage subscription: https://plato.cgl.ucsf.edu/mailman/listinfo/chimerax-users
An alternative approach which doesn't involve modifying ChimeraX (but still requires action in each user account) would be to simply symlink ~/Downloads/ChimeraX to the centralised location.
-- Tristan ________________________________ From: ChimeraX-users chimerax-users-bounces@cgl.ucsf.edu on behalf of Guillaume Gaullier via ChimeraX-users chimerax-users@cgl.ucsf.edu Sent: 17 December 2021 08:40 To: goddard goddard@sonic.net Cc: ChimeraX Users Help chimerax-users@cgl.ucsf.edu Subject: Re: [chimerax-users] Change the directory for data fetched from databases
Hi Tom,
This is the use case I had in mind indeed. Model files are small enough that duplication doesn’t matter, but a shared cache for maps could be convenient. I was simply asking in case there was a supported way to achieve this that I had missed in the documentation, but I can absolutely live with the current default.
Thank you for your answer. Cheers,
Guillaume
On 16 Dec 2021, at 23:50, Tom Goddard <goddard@sonic.netmailto:goddard@sonic.net> wrote:
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@cgl.ucsf.edumailto:chimerax-users@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@cgl.ucsf.edumailto:ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
Very simple indeed, I should have thought of that first. Thank you Tristan. :-)
Guillaume
On 17 Dec 2021, at 10:11, Tristan Croll <tic20@CAM.AC.UKmailto:tic20@CAM.AC.UK> wrote:
An alternative approach which doesn't involve modifying ChimeraX (but still requires action in each user account) would be to simply symlink ~/Downloads/ChimeraX to the centralised location.
-- Tristan ________________________________ From: ChimeraX-users <chimerax-users-bounces@cgl.ucsf.edumailto:chimerax-users-bounces@cgl.ucsf.edu> on behalf of Guillaume Gaullier via ChimeraX-users <chimerax-users@cgl.ucsf.edumailto:chimerax-users@cgl.ucsf.edu> Sent: 17 December 2021 08:40 To: goddard <goddard@sonic.netmailto:goddard@sonic.net> Cc: ChimeraX Users Help <chimerax-users@cgl.ucsf.edumailto:chimerax-users@cgl.ucsf.edu> Subject: Re: [chimerax-users] Change the directory for data fetched from databases
Hi Tom,
This is the use case I had in mind indeed. Model files are small enough that duplication doesn’t matter, but a shared cache for maps could be convenient. I was simply asking in case there was a supported way to achieve this that I had missed in the documentation, but I can absolutely live with the current default.
Thank you for your answer. Cheers,
Guillaume
On 16 Dec 2021, at 23:50, Tom Goddard <goddard@sonic.netmailto:goddard@sonic.net> wrote:
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@cgl.ucsf.edumailto:chimerax-users@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@cgl.ucsf.edumailto:ChimeraX-users@cgl.ucsf.edu Manage subscription: https://plato.cgl.ucsf.edu/mailman/listinfo/chimerax-users
participants (3)
-
Guillaume Gaullier
-
Tom Goddard
-
Tristan Croll