Skip to content

run.sh: cross-platform find, opt-in uv, skip CLI when --gui#3

Merged
RayChang987 merged 3 commits into
RayChang987:masterfrom
LenfIcefrost:feat/quickstart
Jul 26, 2026
Merged

run.sh: cross-platform find, opt-in uv, skip CLI when --gui#3
RayChang987 merged 3 commits into
RayChang987:masterfrom
LenfIcefrost:feat/quickstart

Conversation

@LenfIcefrost

Copy link
Copy Markdown
Contributor

Summary

  • Replace GNU-only find -printf with find -exec basename so run.sh works on macOS/BSD find, not just Linux.
  • Make uv opt-in via a new --uv flag; default flow now uses a local .venv + pip install -r requirements.txt and python3.
  • Skip the CLI STA run (main.py) when --gui is set, since gui_viewer.py's STAWorker runs its own full STA pipeline from the raw JSON/SDC/DEF inputs and never reads main.py's output.

Test plan

  • bash -n run.sh (syntax check, already passed locally)
  • ./run.sh (default python/pip path) on a clean checkout
  • ./run.sh --uv still works as before
  • ./run.sh -g launches GUI directly without running CLI first

LenfIcefrost and others added 3 commits July 24, 2026 17:39
find's -printf flag is GNU-only and breaks on macOS/BSD find.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Adds a --uv flag to run.sh; without it, dependencies are managed via
a local venv + pip install -r requirements.txt and scripts run under
python3, matching the existing pyproject.toml/requirements.txt setup.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
gui_viewer.py's STAWorker runs its own full STA pipeline from the raw
JSON/SDC/DEF inputs and never reads main.py's CLI output, so running
main.py first is redundant work when launching the GUI.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@RayChang987
RayChang987 merged commit e5e4ee9 into RayChang987:master Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants