From 47e62b03821571bab6ca76787fc591e545118d3d Mon Sep 17 00:00:00 2001
From: Jacques Grelet <jacques.grelet@ird.fr>
Date: Sat, 28 Jan 2017 16:29:22 +0000
Subject: [PATCH] add and comment debug

---
 tsg_util/preferencesForm.m | 3 ++-
 tsg_util/tsg_preferences.m | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/tsg_util/preferencesForm.m b/tsg_util/preferencesForm.m
index 01965ab..fa75cab 100644
--- a/tsg_util/preferencesForm.m
+++ b/tsg_util/preferencesForm.m
@@ -876,7 +876,8 @@ uiwait(hPreferencesFig);
   % The climatology level are not the same between WOA and ISAS
   % -----------------------------------------------------------
   function update_climato_depth(obj, event)
-    disp(get(prefs.PREFERENCES_LEVITUS_VALUE, 'value'))
+    % debug
+    % disp(get(prefs.PREFERENCES_LEVITUS_VALUE, 'value'))
     if get(prefs.PREFERENCES_LEVITUS_VALUE, 'value') == 3
       set(prefs.PREFERENCES_LEVITUS_DEPTH, 'string', {'5', '10'});
     else
diff --git a/tsg_util/tsg_preferences.m b/tsg_util/tsg_preferences.m
index 7d90b30..fad34f7 100644
--- a/tsg_util/tsg_preferences.m
+++ b/tsg_util/tsg_preferences.m
@@ -30,6 +30,8 @@ waitbar( 1/10, wb, 'loading structure tsg' );
 % Construct config file path
 % --------------------------
 config_file = [prefdir, filesep, app_name, '.mat'];
+% debug
+% config_file
 
 % Open config file
 % ----------------
-- 
GitLab