From a8ec032aba942302e55072167d28ba76a97a7918 Mon Sep 17 00:00:00 2001
From: Olivier Sauter <olivier.sauter@epfl.ch>
Date: Sat, 22 Jun 2024 07:18:52 +0200
Subject: [PATCH] fix no tcv_eq for \.. node names -1,900000 shots

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

diff --git a/matlab/TCV/gdat_tcv.m b/matlab/TCV/gdat_tcv.m
index a6118f64..b177db53 100644
--- a/matlab/TCV/gdat_tcv.m
+++ b/matlab/TCV/gdat_tcv.m
@@ -341,7 +341,7 @@ if (iscell(mapping_for_tcv.expression) || isempty(strfind(mapping_for_tcv.expres
   % requires FBTE
   liuqe_version_eff = -1;
   liuqe_version = -1;
-  if isempty(findstr(mapping_for_tcv.expression,'tcv_eq'))
+  if isempty(findstr(mapping_for_tcv.expression,'tcv_eq')) && isempty(findstr(mapping_for_tcv.expression,'\'))
     % if tcv_eq in expression, liuqe target will be modified to FBTE below with regexprep
     begstr = 'tcv_eq( "';
     substr_liuqe = '", "FBTE" )';
-- 
GitLab