DOCKER: Update templateflow get to use lists, note regexes
@@ -154,11 +154,11 @@ RUN pip install --no-cache-dir -r requirements.txt && \
# Precaching atlases
RUN python -c "from templateflow import api as tfapi; \
- tfapi.get('MNI152Lin|MNI152NLin2009cAsym|OASIS30ANTs', suffix='T1w'); \
- tfapi.get('MNI152Lin|MNI152NLin2009cAsym|OASIS30ANTs', desc='brain', suffix='mask'); \
+ tfapi.get(['MNI152Lin', 'MNI152NLin2009cAsym', 'OASIS30ANTs'], suffix='T1w'); \
+ tfapi.get(['MNI152Lin', 'MNI152NLin2009cAsym', 'OASIS30ANTs'], desc='brain', suffix='mask'); \
tfapi.get('OASIS30ANTs', resolution=1, desc='4', suffix='dseg'); \
- tfapi.get('OASIS30ANTs|NKI', resolution=1, label='brain', suffix='probseg'); \
- tfapi.get('OASIS30ANTs|NKI', resolution=1, desc='BrainCerebellumRegistration', suffix='mask'); "
+ tfapi.get(['OASIS30ANTs', 'NKI'], resolution=1, label='brain', suffix='probseg'); \
+ tfapi.get(['OASIS30ANTs', 'NKI'], resolution=1, desc='BrainCerebellumRegistration', suffix='mask'); "
COPY . niworkflows/
RUN pip install --no-cache-dir /src/niworkflows[all] && \
