Commit fda4a53e authored by Rashad Kanavath's avatar Rashad Kanavath

WRG: try to fix intent in python swig interface file

parent 17c9f454
......@@ -585,13 +585,16 @@ class ApplicationProxy(object):
self.SetParameterValue(attr.lower(), value)
else:
raise AttributeError
}
}
}
#endif
#if OTB_SWIGNUMPY
%extend Application {
%pythoncode {
%extend Application
{
%pythoncode
{
def SetImageFromNumpyArray(self, paramKey, npArray):
"""
......@@ -727,7 +730,7 @@ class ApplicationProxy(object):
numpy_vector_image = numpy_vector_image[:,:,1]
return numpy_vector_image
}
}
}
#endif /* OTB_SWIGNUMPY */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment