Download hmc/reference/scripts/fetch-qsiprep-src2.sh from neurodeskorg/webapps: direct link, hf CLI and curl.
- Browser
- Download file 532 Bytes
-
https://huggingface.co/datasets/neurodeskorg/webapps/resolve/main/hmc/reference/scripts/fetch-qsiprep-src2.sh
- Command line
-
hf download hf://datasets/neurodeskorg/webapps/hmc/reference/scripts/fetch-qsiprep-src2.sh
-
curl -L -o fetch-qsiprep-src2.sh https://huggingface.co/datasets/neurodeskorg/webapps/resolve/main/hmc/reference/scripts/fetch-qsiprep-src2.sh
532 Bytes
| # Fetch QSIPrep 26.1.1 parser, config and HMC sources. | |
| set -uo pipefail | |
| base="https://raw.githubusercontent.com/PennLINC/qsiprep/26.1.1/qsiprep" | |
| cd /var/tmp/dwi-hmc/ref-src/qsiprep-26.1.1 | |
| for f in cli/parser.py config.py workflows/dwi/hmc.py workflows/dwi/base.py workflows/base.py cli/run.py cli/workflow.py interfaces/shoreline.py data/shoreline_precise_Affine.json data/shoreline_precise_Rigid.json; do | |
| mkdir -p "$(dirname "$f")" | |
| curl -sSfL -o "$f" "$base/$f" || echo "MISS $f" | |
| done | |
| find . -type f | sort | |