Skip to content

Commit e9413a0

Browse files
committed
Add PYTHONNOUSERSITE to nextflow.config
1 parent 51311bc commit e9413a0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

nextflow.config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ if (!params.igenomes_ignore) {
125125
// Increase time available to build conda environment
126126
conda { createTimeout = "60 min" }
127127

128+
// Export this variable to prevent local Python libraries from conflicting with those in the container
129+
env {
130+
PYTHONNOUSERSITE = 1
131+
}
132+
128133
// Capture exit codes from upstream processes when piping
129134
process.shell = ['/bin/bash', '-euo', 'pipefail']
130135

0 commit comments

Comments
 (0)