Skip to content

Commit

Permalink
Write dataset_description.json to AtlasPack folder (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo authored Oct 2, 2024
1 parent 2b0010c commit 13ae8b1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ COPY --from=atlaspack /AtlasPack/tpl-MNI152NLin6Asym_*.nii.gz /AtlasPack/
COPY --from=atlaspack /AtlasPack/atlas-4S*.tsv /AtlasPack/
COPY --from=atlaspack /AtlasPack/*.json /AtlasPack/

# Write dataset_description.json
RUN echo '{' > /AtlasPack/dataset_description.json && \
echo ' "Name": "AtlasPack",' >> /AtlasPack/dataset_description.json && \
echo ' "BIDSVersion": "1.0.0",' >> /AtlasPack/dataset_description.json && \
echo ' "DatasetType": "atlas",' >> /AtlasPack/dataset_description.json && \
echo '}' >> /AtlasPack/dataset_description.json

# Install basic libraries
RUN apt-get update && \
apt-get install -y --no-install-recommends \
Expand Down

0 comments on commit 13ae8b1

Please sign in to comment.