From 246fa87ffccba6ce0d71bae509c6a33ddf04aff3 Mon Sep 17 00:00:00 2001
From: Olivier Sauter <olivier.sauter@epfl.ch>
Date: Fri, 24 Nov 2023 07:45:43 +0100
Subject: [PATCH] start correct small bugs to get shot=-1 data

---
 matlab/TCV/gdat_tcv.m | 1 +
 1 file changed, 1 insertion(+)

diff --git a/matlab/TCV/gdat_tcv.m b/matlab/TCV/gdat_tcv.m
index 11023819..b4e524f4 100644
--- a/matlab/TCV/gdat_tcv.m
+++ b/matlab/TCV/gdat_tcv.m
@@ -829,6 +829,7 @@ elseif strcmp(mapping_for_tcv.method,'switchcase')
    case {'b0'}
     % B0 at R0=0.88
     r0exp=0.88;
+    added_correction_str='';
     if isfield(gdat_data.gdat_params,'source') && ~isempty(gdat_data.gdat_params.source) ...
           && length(gdat_data.gdat_params.source)>=5 && strcmp(lower(gdat_data.gdat_params.source(1:5)),'liuqe')
       % expect liuqe or liuqe.m to have liuqe time-base, otherwise give full time base
-- 
GitLab