2026-11-19 10:00:02 +01:00
|
|
|
#!/usr/bin/env bash
|
2026-11-19 10:52:46 +01:00
|
|
|
# Runs data_diff/<SERIAL>/runs/<run>/config.yaml (processing/run_config.py), in a throwaway uv environment with what
|
2026-11-19 10:00:02 +01:00
|
|
|
# optical's emulator and camera correction need; optical's code from $OPTICAL (default ~/optical). No credentials.
|
2026-11-19 10:52:46 +01:00
|
|
|
# processing/run_config.sh <SERIAL> <run> [--from D] [--to E] [--jobs N]
|
|
|
|
|
# processing/run_config.sh <SERIAL> <run> --new (processing/new_run.sh): the run created, empty
|
2026-11-19 10:00:02 +01:00
|
|
|
# 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" "$@"
|