-
Notifications
You must be signed in to change notification settings - Fork 12
Tai's branch #1124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tai's branch #1124
Conversation
He needs to make his own branch.
Updated ConfigurationController to handle all stage axes dynamically instead of a fixed set. Returned stage speed settings to 90% in ASI and MS2000 stage classes. WIll add to the advanced stage popup in next commit.
Introduces home position fields and update buttons to the advanced stage parameters popup, updates controller logic to handle home positions, and adjusts layout to accommodate new controls. @annie-xd-wang - I may need your help coming up with a proper solution. Right now, when we query the stages, it only does it for the active microscope, and it will only return the stage positions for the standard x, y, z, f, theta stages. A better solution would be to know which microscope is what, and the query the stage there.
Introduces a new 'query_select_microscope' command to Controller and Model, allowing thread-blocking queries for a specific microscope's stage positions. AdvancedStageParametersController now uses this to update axis limits based on the selected microscope, allowing one to query non-standard stages.
Replaces grid-based column headers with ttk.LabelFrames for each functional area, improving visual grouping and alignment. Widgets for each stage are now placed inside their respective column frames, and row heights are normalized for perfect alignment. Updates widget clearing logic to handle new column frames and row widgets. Also, to make it easier to find the updated values in the yaml file, this is now sorted alphabetically.
@annie-xd-wang - This should hopefully be ready to review. While reviewing @tngo2019's code, I realized that the advanced stage settings popup would struggle with non-default stages, so I had to add logic to query a specific stage from a specific microscope instance. In the process, made the popup a bit cleaner by organizing each update category within a common label frame. Hopefully the tests pass. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #1124 +/- ##
===========================================
- Coverage 54.00% 53.87% -0.13%
===========================================
Files 191 191
Lines 21785 21893 +108
===========================================
+ Hits 11765 11795 +30
- Misses 10020 10098 +78
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
He needs to make his own branch.