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.
This pull request includes several changes to improve the functionality and testing of the
matRad
GUI widgets. The most important changes involve enhancing thematRad_DVHWidget
and itsshowDVH
function, updating thematRad_showDVH
function, and adding new test cases for various widgets.Enhancements to
showDVH
function:matRad/gui/widgets/matRad_DVHWidget.m
: Added logic to handle scenarios more robustly by introducing thect
variable and updating the scenario model creation and checks.Updates to
matRad_showDVH
function:matRad/planAnalysis/matRad_showDVH.m
: Modified thexlabel
function to include theaxesHandle
parameter for better plot labeling.Addition of new test cases:
test/gui/test_gui_DVHStatsWidget.m
: Added multiple test functions to constructDVHStatsWidget
with different plan types (Photon, Proton, Carbon, Helium) and verify their correct instantiation.test/gui/test_gui_PlanWidget.m
: Added test functions to constructPlanWidget
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 constructexportWidget
with a Carbon plan and verify its correct instantiation.test/gui/test_gui_viewingWidget.m
: Added test functions to constructViewingWidget
with different plan types (TG119, Photon, Proton, Carbon, Helium) and verify their correct instantiation. [1] [2]