Skip to content
Snippets Groups Projects
Commit cf25fd67 authored by Matthew Webster's avatar Matthew Webster
Browse files

BF: /opt/fmrib/fsl may not contain activate

parent 42b24066
No related branches found
No related tags found
1 merge request!60BF: /opt/fmrib/fsl may not contain activate
Pipeline #21884 skipped
#!/usr/bin/env fslpython
#Note this script requires a conda activate script to be on the PATH
import os
import shlex
import tempfile
......@@ -32,7 +34,7 @@ def run(cmd, ompthreads=None, blasthreads=None, fslskipglobal=None):
def main():
buildcmds = ['source $FSLDIR/bin/activate $FSLDIR',
buildcmds = ['source activate $FSLDIR',
'source $FSLDIR/etc/fslconf/fsl-devel.sh',
'make']
sp.run('; '.join(buildcmds), check=True, shell=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment