#!/usr/bin/env bash # Fetch QSIPrep 26.1.1 interfaces/gradients.py for the motion decomposition reference. set -euo pipefail mkdir -p /var/tmp/dwi-hmc/ref-src/qsiprep-26.1.1 cd /var/tmp/dwi-hmc/ref-src/qsiprep-26.1.1 curl -sSfL -o gradients.py "https://raw.githubusercontent.com/PennLINC/qsiprep/26.1.1/qsiprep/interfaces/gradients.py" sha256sum gradients.py