diff --git a/Modules/Wrappers/SWIG/test/python/PythonNumpyTest.py b/Modules/Wrappers/SWIG/test/python/PythonNumpyTest.py index 228e176b92f1a16a598ea34b5966074d0337a4fe..91a7c1f04267e8310968decfbaaa7b0be47be4a1 100644 --- a/Modules/Wrappers/SWIG/test/python/PythonNumpyTest.py +++ b/Modules/Wrappers/SWIG/test/python/PythonNumpyTest.py @@ -52,5 +52,5 @@ Smoothing = otbApplication.Registry.CreateApplication("Smoothing") #take numpy output from Convert application and feed into Smoothing Smoothing.SetVectorImageFromNumpyArray("in", ConvertOut) Smoothing.SetParameterString("type", 'anidif') -Smoothing.SetParameterString("out", prefix + "SmoothingOut.png") +Smoothing.SetParameterString("out", argv[2]) Smoothing.ExecuteAndWriteOutput()