Skip to content

Revert use of addOptional #1105

@jan-petr

Description

@jan-petr

Description

addOptional parsing is suboptimal for our purpose:

  1. It doesn't allow customized error messages
  2. It doesn't allow default values for the middle parameters

We have to revise and possibly revert the use of addOptional in the entire code.

Tasks

  • Fix Testing/xASL_test_TestExploreASL.m
  • Fix Functions/InputOutput/xASL_io_dcm2nii.m
  • Fix Functions/Administration/xASL_adm_FindByRegExp.m
  • Fix ExploreASL_Initialize.m

Release notes

Fixes input parameter checking at multiple locations and optimized internal variables.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions