Skip to content

926#930

Merged
AdvancedImagingUTSW merged 5 commits into
developfrom
926
Jul 2, 2024
Merged

926#930
AdvancedImagingUTSW merged 5 commits into
developfrom
926

Conversation

@AdvancedImagingUTSW
Copy link
Copy Markdown
Collaborator

I've made a bit of a mess and I am simply trying to get PR #926 ready for merging...

I'm thinking we should move our gui parameters out of the configuration.yaml file. Currently, in the channels_tab_controller, the initialize method does not call self.set_spinbox_range_limits. This is where the gui parameters are called from the configuration file. However, if the configuration file is not set up properly, then no error handling is in place and this will throw a terminal error.
So that we can have a more centrally organized location for the GUI parameters (step size, etc), we now can load a GUI file into the Manager dictionary.
When evaluating the tests on my personal machine, I noticed that the test_main_application_window hung, so now I force it to exit.

Also realized that I messed up the variable input arguments.
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 2, 2024

Codecov Report

Attention: Patch coverage is 66.00000% with 17 lines in your changes missing coverage. Please review.

Project coverage is 51.84%. Comparing base (f7e1e4a) to head (4b43de0).

Files Patch % Lines
src/navigate/config/config.py 63.15% 7 Missing ⚠️
...ller/sub_controllers/channel_setting_controller.py 50.00% 5 Missing ⚠️
src/navigate/tools/main_functions.py 20.00% 4 Missing ⚠️
...troller/sub_controllers/channels_tab_controller.py 91.66% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #930      +/-   ##
===========================================
+ Coverage    51.79%   51.84%   +0.04%     
===========================================
  Files          179      179              
  Lines        19110    19091      -19     
===========================================
- Hits          9898     9897       -1     
+ Misses        9212     9194      -18     
Flag Coverage Δ
unittests 51.84% <66.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Copy Markdown
Collaborator

@Johnhaug223 Johnhaug223 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing out actively changing the focus increment was successful, tried with changing the increment to different values (from 0.1 to 10), and it seemed to work correctly.

@AdvancedImagingUTSW AdvancedImagingUTSW merged commit 235263e into develop Jul 2, 2024
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