Skip to content

Commit

Permalink
[bugfix] errors while running the basic matrad script
Browse files Browse the repository at this point in the history
  • Loading branch information
amitantony committed Jul 29, 2022
1 parent a216bd1 commit d8c58e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions gui/widgets/matRad_PlanWidget.m
Original file line number Diff line number Diff line change
Expand Up @@ -664,11 +664,14 @@
% seqIx = find(strcmp(pln.propSeq.sequencer,contentPopUp));
% set(handles.popUpMenuSequencer,'Value',seqIx);

set(handles.btnRunSequencing,'Value',pln.propSeq.runSequencing);
set(handles.editSequencingLevel,'String',num2str(pln.propSeq.sequencingLevel));
set(handles.btnRunSequencing,'Value',pln.propSeq.runSequencing);
set(handles.btnRunDAO,'Value',pln.propOpt.runDAO);
set(handles.radiobutton3Dconf,'Value',pln.propOpt.conf3D);

if isfield(pln.propSeq, 'sequencingLevel')
set(handles.editSequencingLevel,'String',num2str(pln.propSeq.sequencingLevel));
end
if isfield (pln.propOpt, 'conf3D')
set(handles.radiobutton3Dconf,'Value',pln.propOpt.conf3D);
end
set(handles.editDoseX,'String',num2str(pln.propDoseCalc.doseGrid.resolution.x));
set(handles.editDoseY,'String',num2str(pln.propDoseCalc.doseGrid.resolution.y));
set(handles.editDoseZ,'String',num2str(pln.propDoseCalc.doseGrid.resolution.z));
Expand Down
2 changes: 1 addition & 1 deletion gui/widgets/matRad_ViewingWidget.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
plotLegend = true;
plotColorBar = true;
ProfileType = 'lateral';
SelectedDisplayOption ='';
SelectedDisplayOption ='physicalDose';
SelectedDisplayAllOptions='';
CutOffLevel= 0.01;
dispWindow= cell(3,2);
Expand Down

0 comments on commit d8c58e0

Please sign in to comment.