uclahs-cds / tool-NFTest

CLI to automate Nextflow pipeline testing
GNU General Public License v2.0
11 stars 1 forks source link

Environment variable handling #39

Open yashpatel6 opened 1 year ago

yashpatel6 commented 1 year ago
          Perhaps this is a job for environment variables. We can define `NFTEST_TEMPDIR=/scratch` on the cluster, but default to `./` for others.

_Originally posted by @dan-knight in https://github.com/uclahs-cds/pipeline-filter-RNAEditingSite/pull/11#discussion_r1310841340_

          Perfect - I was trying to figure out the equivalent of the system-wide `.env` file, but I forgot about environment variables. We'll just need to figure out the hierarchy - e.g. who wins between the environment variable and `.env`.

_Originally posted by @nwiltsie in https://github.com/uclahs-cds/pipeline-filter-RNAEditingSite/pull/11#discussion_r1310844675_