Skip to content
Snippets Groups Projects
Commit fda4a53e authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

WRG: try to fix intent in python swig interface file

parent 17c9f454
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment