From 1f47ca167e7fba2b3fa46db057e6308ce8793145 Mon Sep 17 00:00:00 2001
From: Olivier Sauter <Olivier.Sauter@epfl.ch>
Date: Sun, 29 Sep 2019 22:06:34 +0200
Subject: [PATCH] minor spaces and set 2 nbi units as default

---
 matlab/TCV_IMAS/tcv_get_ids_nbi.m    | 1 -
 matlab/TCV_IMAS/tcv_ids_bpol_probe.m | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/matlab/TCV_IMAS/tcv_get_ids_nbi.m b/matlab/TCV_IMAS/tcv_get_ids_nbi.m
index b4c5e644..073bf1d4 100644
--- a/matlab/TCV_IMAS/tcv_get_ids_nbi.m
+++ b/matlab/TCV_IMAS/tcv_get_ids_nbi.m
@@ -15,7 +15,6 @@ ids_nbi_description='';
 
 
 nb_units = 2; % assume 2 units: 1st NBH and DNBI
-nb_units = 1; % assume 2 units: 1st NBH and DNBI
 ids_nbi.unit(1:nb_units) = ids_nbi.unit(1); % copy empty structure for all units, then fill in
 
 % create lists of what is different for each units so that can scan through units
diff --git a/matlab/TCV_IMAS/tcv_ids_bpol_probe.m b/matlab/TCV_IMAS/tcv_ids_bpol_probe.m
index e0aede17..1eef311b 100644
--- a/matlab/TCV_IMAS/tcv_ids_bpol_probe.m
+++ b/matlab/TCV_IMAS/tcv_ids_bpol_probe.m
@@ -68,8 +68,8 @@ switch error_bar
  case 'delta'
   for ii=1:Nprobes
     sub_ids_struct_out{ii}.field.data_error_upper = fixed_error.*ones(size(sub_ids_struct_out{ii}.field.data));% TO BE FOUND;
-  sub_ids_struct_out_description{ii}.field_data_error_upper = ['from fixed error value in case ' error_bar];
-  sub_ids_struct_out_description{ii}.field_data_error_lower = ['not provided since symmetric'];
+    sub_ids_struct_out_description{ii}.field_data_error_upper = ['from fixed error value in case ' error_bar];
+    sub_ids_struct_out_description{ii}.field_data_error_lower = ['not provided since symmetric'];
   end
  case 'delta_with_lower'
   for ii=1:Nprobes
-- 
GitLab