#!/usr/bin/env bash # Recomputes a configuration into runs// (processing/run_config.py), in a throwaway uv environment with what # optical's emulator and camera correction need; optical's code from $OPTICAL (default ~/optical). No credentials. # processing/run_config.sh [SERIAL...] [--from D] [--to E] [--jobs N] # processing/run_config.sh --check set -u export PATH="$HOME/.local/bin:$PATH" here=$(cd "$(dirname "$0")" && pwd) exec uv run --no-project --quiet --python 3.12 \ --with numpy --with pandas --with pillow --with pyyaml --with scipy --with scikit-image \ --with opencv-python-headless \ python "$here/run_config.py" "$@"