juliencarponcy / trialexp

MIT License
2 stars 4 forks source link

[feature] add in automatic function in snakehelper to switch folder #12

Closed teristam closed 1 year ago

teristam commented 1 year ago

This PR adds a function in the getSnake function to switch the project directory automatically according to a SNAKEMAKE_DEBUG_ROOT variable. The variable can be added in the operating system, or in a .env file in the project root folder. Please see an example of the .env in this PR.

Since the modification is made upstream in the snakehelper package, you will need to update your snakehelper by

pip install git+https://github.com/teristam/snakehelper

Please see the README in the snakehelper repo for more explanation about environmental variable usage: https://github.com/teristam/snakehelper