Skip to content

Commit

Permalink
Update tests and example for bioModel compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
remocristoforetti committed Aug 14, 2024
1 parent bd80d37 commit f5d74be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/matRad_example12_simpleParticleMonteCarlo.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@

%Biology
modelName = 'none';
quantityOpt = 'physicalDose';
quantityOpt = 'physicalDose';
pln.bioModel = matRad_bioModel(pln.radiationMode,quantityOpt,modelName);
pln.propOpt.quantityOpt = quantityOpt;

% optimization settings
pln.propOpt.optimizer = 'IPOPT';
Expand Down
2 changes: 0 additions & 2 deletions test/bioModel/test_biologicalModel.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
assertTrue(isa(bioModel, 'matRad_EmptyBiologicalModel'));
bioModel = matRad_bioModel('protons', 'none');
assertTrue(isa(bioModel, 'matRad_EmptyBiologicalModel'));
bioModel = matRad_bioModel('photons', 'MCN');
assertTrue(isa(bioModel, 'matRad_EmptyBiologicalModel'));

if moxunit_util_platform_is_octave()
assertExceptionThrown(@(model) matRad_bioModel('photons', model), {'MCN', 'WED', 'CAR', 'LEM'});
Expand Down

0 comments on commit f5d74be

Please sign in to comment.