From c4ff6702558cad5ca105ae6e86dc532942b00109 Mon Sep 17 00:00:00 2001
From: Cedric <cedric.traizet@c-s.fr>
Date: Mon, 14 Jan 2019 15:09:01 +0100
Subject: [PATCH] DOC: moved the output parameter up in the app so it shows up
 on top in otbgui

---
 .../AppHyperspectral/app/otbEndmemberNumberEstimation.cxx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx b/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx
index d5cff2bc74..cdfc36799d 100644
--- a/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx
+++ b/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx
@@ -92,6 +92,10 @@ private:
     AddParameter(ParameterType_InputImage,  "in", "Input Image Filename");
     SetParameterDescription("in","The hyperspectral data cube input");
 
+    AddParameter(ParameterType_Int,"number","Number of endmembers");
+    SetParameterDescription("number", "The output estimated number of endmembers");
+    SetParameterRole("number", Role_Output);
+
     AddParameter(ParameterType_Choice, "algo", "Unmixing algorithm");
     SetParameterDescription("algo", "The algorithm to use for the estimation");
     AddChoice("algo.elm", "Eigenvalue Likelihood Maximization");
@@ -106,10 +110,6 @@ private:
     SetParameterDescription( "algo.vd.far" , 
       "False alarm rate for the virtual dimensionality algorithm");
 
-    AddParameter(ParameterType_Int,"number","Number of endmembers");
-    SetParameterDescription("number", "The output estimated number of endmembers");
-    SetParameterRole("number", Role_Output);
-
     AddRAMParameter();
     
     // Doc example parameter settings
-- 
GitLab