SPB Git

Repository Public MIT

generate_all.sh 787 B 15 lines shellscript

1#!/usr/bin/env bash2# ORIX Calc3# File: Packages/ORIXStatistics/Reference/generate_all.sh4# Description: Regenerates every reference JSON (Reference/output/ and the copy bundled with the tests). Needs python3 with scipy, numpy, mpmath, statsmodels.5#6# Author: Simon-Pierre Boucher7# Contact: contact@spboucher.ai8set -euo pipefail9cd "$(dirname "$0")"10for script in gen_special.py gen_distributions.py gen_descriptive.py gen_inference.py gen_regression.py gen_bootstrap.py; do11    echo "== $script"12    python3 "$script"13done14python3 -c "import scipy, numpy, mpmath, statsmodels, sys; print('python', sys.version.split()[0], '| scipy', scipy.__version__, '| numpy', numpy.__version__, '| mpmath', mpmath.__version__, '| statsmodels', statsmodels.__version__)" | tee output/VERSIONS.txt15
Files main
Menu

Theme