webapps / hmc /reference /scripts /epic /pull-qsiprep.sh
gdevenyi's picture
hmc: NiFreeze 3bcfb00 and QSIPrep 26.1.1 SHORELine reference runs on ds005577 sub-107 (part 9)
a4ba047 verified
Raw History Blame Contribute Delete
610 Bytes
#!/usr/bin/env bash
# Pull QSIPrep 26.1.1 on epic, pinned to the registry digest the local runs used.
set -euo pipefail
ROOT=$HOME/scratch/hmc-m0-reference-runs
DIGEST=sha256:b7d91d9755fd97647632a1f900238425239cd834c97e9866b20af39e224d383a
export TMPDIR=$ROOT/tmp
export APPTAINER_TMPDIR=$ROOT/apptainer-tmp
export APPTAINER_CACHEDIR=$ROOT/apptainer-cache
mkdir -p "$APPTAINER_TMPDIR" "$APPTAINER_CACHEDIR"
cd "$ROOT/containers"
apptainer pull qsiprep-26.1.1.sif "docker://pennlinc/qsiprep@$DIGEST"
sha256sum qsiprep-26.1.1.sif > qsiprep-26.1.1.sif.sha256
echo "$DIGEST" > qsiprep-26.1.1.digest
echo PULL-DONE