Skip to content

Commit

Permalink
Merge pull request #185 from chrisfilo/enh/template_caching
Browse files Browse the repository at this point in the history
[RTM] keep all of the data in the container
  • Loading branch information
oesteban committed Dec 2, 2016
2 parents 3ed314f + c77890c commit 72b1454
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,12 @@ WORKDIR /root/
COPY build/files/run_* /usr/bin/
RUN chmod +x /usr/bin/run_*

RUN mkdir /niworkflows_data
ENV CRN_SHARED_DATA /niworkflows_data

RUN python -c 'from niworkflows.data.getters import get_mni_template_ras; get_mni_template_ras()' && \
python -c 'from niworkflows.data.getters import get_mni_icbm152_nlin_asym_09c; get_mni_icbm152_nlin_asym_09c()' && \
python -c 'from niworkflows.data.getters import get_ants_oasis_template_ras; get_ants_oasis_template_ras()'

ENTRYPOINT ["/usr/bin/run_fmriprep"]
CMD ["--help"]
1 change: 0 additions & 1 deletion fmriprep/workflows/epi.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
from nipype.interfaces import fsl
from nipype.interfaces import io as nio
from nipype.interfaces import utility as niu
from niworkflows.data import get_mni_template_ras
from niworkflows.interfaces.masks import BETRPT
from niworkflows.interfaces.registration import FLIRTRPT
from niworkflows.data import get_mni_icbm152_nlin_asym_09c
Expand Down

0 comments on commit 72b1454

Please sign in to comment.