Skip to content

Commit e71b4fa

Browse files
authored
Merge pull request #341 from DendrouLab/integration-conda-fix
Fix conda env inheritance in pipeline_integration.py
2 parents f992231 + b76eb84 commit e71b4fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

panpipes/panpipes/pipeline_integration.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ def run_scvi(outfile):
256256
cmd += " --neighbors_k %s" % neighbor_params['k']
257257
cmd += " > logs/1_rna_scvi.log "
258258
job_kwargs = {}
259+
if PARAMS['condaenv'] is not None:
260+
job_kwargs["job_condaenv"] =PARAMS['condaenv']
259261
if PARAMS['queues_gpu'] is not None:
260262
job_kwargs["job_queue"] = PARAMS['queues_gpu']
261263
job_kwargs["job_threads"] = int(PARAMS['resources_threads_gpu'])

0 commit comments

Comments
 (0)