Skip to content

fix: honor fast step three for individual color channels - #180

Open
imshah-id wants to merge 1 commit into
FireDynamics:masterfrom
imshah-id:fix/fast-channel-analysis
Open

imshah-id wants to merge 1 commit into
FireDynamics:masterfrom
imshah-id:fix/fast-channel-analysis

Conversation

@imshah-id

Copy link
Copy Markdown

Fixes #176.

-s3_fast -r, -g, and -b now run only fast step 3. Previously the and not args.step_3_fast guard applied only to -rgb, so individual color flags triggered a full LED fit before repeating the analysis without fits. Grouping the color flags applies the guard to every channel selection.

The regression tests parse real CLI flags and verify a single extractor invocation with the requested channels and fit mode. They cover each color, RGB, and a two-color selection with and without -s3_fast. Before the fix, four fast-mode cases failed because extraction ran twice.

Validation: python -m pytest ledsa/tests/UnitTests -q — 413 passed (one existing normalization warning), Python 3.12 on macOS. Robot Framework image acceptance tests were not run; this change affects dispatch, not the extraction algorithms.

This branch has not been deployed

No deployments
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.

-s3_fast with -r, -g or -b also runs the full step 3 with LED fits

1 participant