Feature request #14554

Updated by Alexander Bruy over 4 years ago

OTB application command line is rebuild when the algorithm is run.

It could be easier if the OTB XML descriptors contained the template of the arguments.

The post processing would be to complete the template with the user arguments.


* Add a node cli_args_template to the root of each xml descriptor file

* The value of this node is the list of all arguments with a formatable value. All known parameters are already written in the template.

ex: @-inp {inp} -inxs {inxs} -out {out} -method bayes -method.bayes.lambda {method.bayes.lambda} -method.bayes.s {method.bayes.s} -ram [email protected]

* Adapt the processAlgorithm function to use the arguments template