Repository navigation
Take the 1.13.0 current finder out of the Qt worker - #31
Merged
Merged
Conversation
The four-point pre-run current finder of 1.13.0 lives in the QThread worker, the window and calculations.py. The commits that follow move the whole run procedure out of that worker into a Qt-free session layer, and were written against the code as it was before the finder. This removes the finder and its tests so that those commits apply. It comes back at the top of the stack, in session/current_finder.py, where the window, the HTTP API and the desktop app all reach it. The 1.13.0 and 1.13.1 changelog entries, the version and the logo stay.
This was referenced Nov 16, 2026
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
mainhas the 1.13.0 and 1.13.1 releases, which the stack above forked before. 1.13.0 put a four-point pre-run current finder in the Qt worker, the window andcalculations.py. The stack moves the whole run procedure out of that worker into a Qt-free session layer, and its commits were written against the code without the finder, so the bottom of the stack no longer applied tomain.This PR removes the 1.13.0 finder and its tests so that the stack applies. Nothing else from 1.13.x changes: the logo and window icon, the packaging of the assets, the version (1.13.1) and the 1.13.0 and 1.13.1 changelog entries all stay.
The finder comes back in the last part of the stack (#30), in
resistamet_gui/session/current_finder.py, where the PySide6 window, the HTTP API and the desktop app all reach it. There it no longer reads the current back from the instrument, discards readings after a range change, and asks before running at a limit.mainis without the finder between this PR and #30. Merge the stack through to #30 before tagging a release.Stack
Part 0 of 28: the base the other 28 parts sit on. Targets
main. Merge bottom-up with Rebase and merge.Type of change
Hardware testing
Test suite
QT_QPA_PLATFORM=offscreen pytest tests/ -vpasses locallyThe finder's own tests are removed with it; the ported finder's tests arrive with it in #30.
Behaviour change
fpp_autoselect_currentset runs at the entered current.Checklist
README.md/ version history if user-visible