Mirror of lab-reference-ranges 1.0.0 (Zenodo doi:10.5281/zenodo.24543307, GitHub caraulani/lab-reference-ranges)
069243e verified Download scripts/build.sh from lifefrom/lab-reference-ranges: direct link, hf CLI and curl.
- Browser
- Download file 668 Bytes
-
https://huggingface.co/datasets/lifefrom/lab-reference-ranges/resolve/main/scripts/build.sh
- Command line
-
hf download hf://datasets/lifefrom/lab-reference-ranges/scripts/build.sh
-
curl -L -o build.sh https://huggingface.co/datasets/lifefrom/lab-reference-ranges/resolve/main/scripts/build.sh
668 Bytes
| # Regenerate every output from the archived raw sources, then run the tests. | |
| # Needs uv. The archive lives in ../_raw (not part of this repository); see METHODS.md. | |
| set -eu | |
| cd "$(dirname "$0")/.." | |
| uv run -q --with pdfplumber python -I scripts/extract_text.py | |
| python3 -I scripts/build.py | |
| uv run -q --with pytest --with pdfplumber pytest -q tests | |
| # checksums for every file in the repository except SHA256SUMS itself | |
| find . -type f ! -path './.git/*' ! -path '*/__pycache__/*' ! -path './.pytest_cache/*' ! -path './.venv/*' ! -name .DS_Store ! -name SHA256SUMS \ | |
| | sed 's|^\./||' | LC_ALL=C sort | xargs shasum -a 256 > SHA256SUMS | |
| echo "SHA256SUMS written" | |