How to use alternate OTB app Python syntax with StringList or ImageList parameters?
Description
Is the alternate Python syntax for OTB application parametrization works with StringList?
I've tried for instance :
band_math.IL=["image1.tif","image2.tif"]
It leads to an error from the SWIG wrapper. I did not find example of the use of image list and string list with theis syntax in the related tests in Wrappers/SWIG.
The error message generated on Ubuntu 14.06 with OTB-6.4 binary:
>>> app.IL=["test.tif", "test1.tif"]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/grizonnetm/software/OTB-6.4.0-Linux64/lib/python/otbApplication.py", line 1107, in __setattr__
self.SetParameterValue(name.lower(), value)
File "/home/grizonnetm/software/OTB-6.4.0-Linux64/lib/python/otbApplication.py", line 1023, in SetParameterValue
return self.setParameterStringList(paramKey, value)
File "/home/grizonnetm/software/OTB-6.4.0-Linux64/lib/python/otbApplication.py", line 1082, in __getattr__
raise AttributeError("'%s' object has no attribute '%s'" % (Application.__name__, name))
AttributeError: 'Application' object has no attribute 'setParameterStringList'
Steps to reproduce
Describe as precisely as possible how to reproduce the bug. Try to isolate a minimal number of steps. Also describe reproducibility (always, random ...).
Configuration information
OS, OTB version or tag, information related to build (binaries, superbuild, system libs ...)