Skip to content

Commit

Permalink
Merge pull request #324 from stebo85/master
Browse files Browse the repository at this point in the history
added new fsl versions and env
  • Loading branch information
satra authored Apr 6, 2020
2 parents 74cb187 + d693d48 commit 1f4b161
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Note: it is not yet possible to minimize Docker containers using the _Neurodocke
| | method | binaries (default) |
| | install_path | Installation path. Default `/opt/freesurfer-{version}`. |
| | exclude_paths | Sequence of space-separated path(s) to exclude when inflating the tarball. |
| **FSL\*\*** | version\* | 5.0.11, 5.0.10, 5.0.9, 5.0.8 |
| **FSL\*\*** | version\* | 6.0.3, 6.0.2, 6.0.1, 6.0.0, 5.0.11, 5.0.10, 5.0.9, 5.0.8 |
| | method | binaries (default) |
| | install_path | Installation path. Default `/opt/fsl-{version}`. |
| | exclude_paths | Sequence of space-separated path(s) to exclude when inflating the tarball. |
Expand Down
12 changes: 11 additions & 1 deletion neurodocker/templates/fsl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
generic:
binaries:
urls:
"6.0.3": https://fsl.fmrib.ox.ac.uk/fsldownloads/fsl-6.0.3-centos6_64.tar.gz
"6.0.2": https://fsl.fmrib.ox.ac.uk/fsldownloads/fsl-6.0.2-centos6_64.tar.gz
"6.0.1": https://fsl.fmrib.ox.ac.uk/fsldownloads/fsl-6.0.1-centos6_64.tar.gz
"6.0.0": https://fsl.fmrib.ox.ac.uk/fsldownloads/fsl-6.0.0-centos6_64.tar.gz
"5.0.11": https://fsl.fmrib.ox.ac.uk/fsldownloads/fsl-5.0.11-centos6_64.tar.gz
Expand All @@ -23,6 +25,14 @@ generic:
env:
FSLDIR: "{{ fsl.install_path }}"
PATH: "{{ fsl.install_path }}/bin:$PATH"
FSLOUTPUTTYPE: "NIFTI_GZ"
FSLMULTIFILEQUIT: "TRUE"
FSLTCLSH: "{{ fsl.install_path }}/bin/fsltclsh"
FSLWISH: "{{ fsl.install_path }}/bin/fslwish"
FSLLOCKDIR: ""
FSLMACHINELIST: ""
FSLREMOTECALL: ""
FSLGECUDAQ: "cuda.q"
instructions: |
{{ fsl.install_dependencies() }}
echo "Downloading FSL ..."
Expand All @@ -41,7 +51,7 @@ generic:
sed -i '$iecho If you are considering commercial use of this container, please consult the relevant license:' $ND_ENTRYPOINT
sed -i '$iecho https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/Licence' $ND_ENTRYPOINT
sed -i '$isource $FSLDIR/etc/fslconf/fsl.sh' $ND_ENTRYPOINT
{% if fsl.version in ("5.0.11", "5.0.10", "6.0.1") -%}
{% if fsl.version in ("5.0.11", "5.0.10", "6.0.1", "6.0.2", "6.0.3") -%}
echo "Installing FSL conda environment ..."
bash {{ fsl.install_path }}/etc/fslconf/fslpython_install.sh -f {{ fsl.install_path }}
{% endif -%}
Expand Down

0 comments on commit 1f4b161

Please sign in to comment.