From bf2a5fc47e9b2451ce0ed412789297f1e026af15 Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@cnes.fr>
Date: Mon, 16 Jan 2017 10:38:34 +0100
Subject: [PATCH] ENH: Set outmatrix parameter as disabled by default

---
 .../app/otbDimensionalityReduction.cxx                          | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Modules/Applications/AppDimensionalityReduction/app/otbDimensionalityReduction.cxx b/Modules/Applications/AppDimensionalityReduction/app/otbDimensionalityReduction.cxx
index dd9c450359..b3b15d108f 100644
--- a/Modules/Applications/AppDimensionalityReduction/app/otbDimensionalityReduction.cxx
+++ b/Modules/Applications/AppDimensionalityReduction/app/otbDimensionalityReduction.cxx
@@ -168,6 +168,8 @@ private:
     AddParameter(ParameterType_OutputFilename, "outmatrix", "Transformation matrix output (text format)");
     SetParameterDescription("outmatrix", "Filename to store the transformation matrix (csv format)");
     MandatoryOff("outmatrix");
+    DisableParameter("outmatrix");
+    
 
     AddRAMParameter();
 
-- 
GitLab