From 4a073126fad71f47d3965daf33f8b94cd5a28f59 Mon Sep 17 00:00:00 2001
From: Olivier Sauter <olivier.sauter@epfl.ch>
Date: Tue, 23 Jan 2024 12:27:08 +0100
Subject: [PATCH] change 100000-200000 range to 900000-999999

---
 matlab/TCV/gdat_tcv.m | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/matlab/TCV/gdat_tcv.m b/matlab/TCV/gdat_tcv.m
index 11023819..a174d035 100644
--- a/matlab/TCV/gdat_tcv.m
+++ b/matlab/TCV/gdat_tcv.m
@@ -312,10 +312,10 @@ end
 
 mapping_for_tcv = tcv_requests_mapping(data_request_eff,shot);
 gdat_data.label = mapping_for_tcv.label;
-% special treatment for model shot=-1 or preparation shot >=100'000
+% special treatment for model shot=-1 or preparation shot >=900'000
 begstr = '';
 if (iscell(mapping_for_tcv.expression) || isempty(strfind(mapping_for_tcv.expression,'\rtc::'))) && ...
-      ~isempty(shot) && (shot==-1 || (shot>=100000 && shot < 200000) || liuqe_version==-1 )
+      ~isempty(shot) && (shot==-1 || (shot>=900000 && shot <= 999999 ) || liuqe_version==-1 )
   % requires FBTE
   liuqe_version_eff = -1;
   begstr = 'tcv_eq( "';
@@ -3612,14 +3612,14 @@ catch
     gdat_data.error_bar_raw = gdat_data.error_bar;
   end
 
-  if (nverbose>=1) && shot<100000
+  if (nverbose>=1) && shot<900000
     warning('Problems with \results::thomson:times')
     warning(['!!!!!!!!!!!!!!!!!!!!!!!!! cannot continue with ' data_request_eff])
   end
   return
 end
 if isempty(time) || ischar(time)
-  if (nverbose>=1) && shot<100000
+  if (nverbose>=1) && shot<900000
     warning('!!!!!!!!!!!!!!!!!!!!!!!!!\results::thomson:times  is empty? Check')
     disp(['!!!!!!!!!!!!!!!!!!!!!!!!! cannot continue with ' data_request_eff])
   end
-- 
GitLab