Skip to content

Commit 53693e6

Browse files
committed
fix: define kachery credentials in config
1 parent 4bd8602 commit 53693e6

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

pipeline/main.nf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ nextflow.enable.dsl = 2
44
params.ecephys_path = DATA_PATH
55
params.params_file = (binding.hasVariable('PARAMS_FILE') && PARAMS_FILE) ? PARAMS_FILE : null
66

7+
// println System.getenv().collect { k, v -> "$k=$v" }.join('\n')
8+
79
// Git repository prefix - can be overridden via command line or environment variable
810
params.git_repo_prefix = System.getenv('GIT_REPO_PREFIX') ?: 'https://github.com/AllenNeuralDynamics/aind-'
911

pipeline/nextflow.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ env.PIPELINE_VERSION = "kilosort4_1.2.4"
7979
env.DATA_PATH = 's3://aind-ephys-data/ecephys_713593_2024-02-08_14-10-37'
8080
env.PARAMS_FILE = 'params_co.json'
8181
env.SORTER = 'kilosort4'
82+
env.KACHERY_API_KEY = System.getenv('KACHERY_API_KEY') ?: ''
83+
env.KACHERY_ZONE = System.getenv('KACHERY_ZONE') ?: ''
84+
8285

8386
docker {
8487
envWhitelist = ['KACHERY_ZONE', 'KACHERY_API_KEY']

0 commit comments

Comments
 (0)