Skip to content
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

DVH Widget Bugfix #793

Merged
merged 2 commits into from
Nov 20, 2024
Merged

DVH Widget Bugfix #793

merged 2 commits into from
Nov 20, 2024

Conversation

wahln
Copy link
Contributor

@wahln wahln commented Nov 19, 2024

This pull request includes several changes to improve the functionality and testing of the matRad GUI widgets. The most important changes involve enhancing the matRad_DVHWidget and its showDVH function, updating the matRad_showDVH function, and adding new test cases for various widgets.

Enhancements to showDVH function:

Updates to matRad_showDVH function:

Addition of new test cases:

  • test/gui/test_gui_DVHStatsWidget.m: Added multiple test functions to construct DVHStatsWidget with different plan types (Photon, Proton, Carbon, Helium) and verify their correct instantiation.
  • test/gui/test_gui_PlanWidget.m: Added test functions to construct PlanWidget with different plan types (TG119, Photon, Proton, Carbon, Helium) and verify their correct instantiation. [1] [2]
  • test/gui/test_gui_exportWidget.m: Added a test function to construct exportWidget with a Carbon plan and verify its correct instantiation.
  • test/gui/test_gui_viewingWidget.m: Added test functions to construct ViewingWidget with different plan types (TG119, Photon, Proton, Carbon, Helium) and verify their correct instantiation. [1] [2]

@wahln wahln requested a review from amitantony November 19, 2024 15:55
@wahln wahln added the bug label Nov 19, 2024
Copy link

codecov bot commented Nov 19, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 51.26%. Comparing base (c55fa64) to head (3f50eb7).
Report is 3 commits behind head on dev.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
matRad/gui/widgets/matRad_DVHWidget.m 71.42% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #793      +/-   ##
==========================================
+ Coverage   50.27%   51.26%   +0.99%     
==========================================
  Files         598      598              
  Lines       37262    37272      +10     
==========================================
+ Hits        18732    19108     +376     
+ Misses      18530    18164     -366     

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

Copy link

Code Coverage

Package Line Rate Health
coverage Package 1 51%
Summary 51% (9547 / 18636)

@wahln wahln added the devops Changes regarding CI workflows and repo management label Nov 19, 2024
Copy link

github-actions bot commented Nov 19, 2024

Test Results

  3 files  ± 0    3 suites  ±0   33m 57s ⏱️ +25s
274 tests +13  274 ✅ +13  0 💤 ±0  0 ❌ ±0 
918 runs  +39  913 ✅ +39  5 💤 ±0  0 ❌ ±0 

Results for commit 3f50eb7. ± Comparison against base commit c55fa64.

♻️ This comment has been updated with latest results.

@amitantony amitantony merged commit ba37667 into dev Nov 20, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug devops Changes regarding CI workflows and repo management
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants