Closed skchronicles closed 2 years ago
I just noticed this can be achieved with --system-option
.
The docs do not list this as an option:
Feel free to ignore and close this issue. If you have a chance, can you please update the documentation here.
Hello there,
I just want to start off by saying thank you for creating and maintaining this amazing tool.
Would it be possible to update OpenCRAVAT so you can override the default modules directory with an environment variable? It looks like HPC staff at the NIH are doing this at the current moment: https://hpc.nih.gov/apps/OpenCRAVAT.html
I know this can be achieved to a certain degree with the
oc config md
command; however, this command does not appear to be stateless. I am running OpenCRAVAT on a shared filesystem where multiple users could be running the program. The problem is that after running theoc config md
this path is saved, and it could interfere with other running processes or could permanently use this path in the future (which could have undesired effects).I have read through the documentation and I currently do not see a way of doing this without modifying the source code. I took a peek at what HPC staff at Biowulf were doing, and it looks like they only needed to modify two scripts:
admin_util.py
constants.py
The actual implementation of this looks pretty straightforward:
Please let me know what you think, or if there is a current way to achieve said functionality.
Best Regards, @skchronicles