run.sh: cross-platform find, opt-in uv, skip CLI when --gui#3
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
find -printfwithfind -exec basenameso run.sh works on macOS/BSD find, not just Linux.uvopt-in via a new--uvflag; default flow now uses a local.venv+pip install -r requirements.txtandpython3.main.py) when--guiis set, sincegui_viewer.py'sSTAWorkerruns its own full STA pipeline from the raw JSON/SDC/DEF inputs and never readsmain.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 --uvstill works as before./run.sh -glaunches GUI directly without running CLI first