From 022bd5c407e0e173d3cdc1111a02572e2f7d18e5 Mon Sep 17 00:00:00 2001
From: Olivier Sauter <olivier.sauter@epfl.ch>
Date: Fri, 22 Apr 2016 10:00:19 +0000
Subject: [PATCH] adapt IDA gdat call

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@5678 d63d8f72-b253-0410-a779-e742ad2e26cf
---
 crpptbx/AUG/run_torbeam_fullshot.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/crpptbx/AUG/run_torbeam_fullshot.m b/crpptbx/AUG/run_torbeam_fullshot.m
index f39b3e46..a491bc57 100644
--- a/crpptbx/AUG/run_torbeam_fullshot.m
+++ b/crpptbx/AUG/run_torbeam_fullshot.m
@@ -61,8 +61,8 @@ if shot>0
   hhIDA = sfread('IDA', shot);
   dousebetapol = '-betapol';
   if hhIDA.handle~=0;
-    netest=gdat(shot,'IDA/ne');
-    tetest=gdat(shot,'IDA/te');
+    netest=gdat(shot,{'IDA','ne'});
+    tetest=gdat(shot,{'IDA','te'});
     if ~isempty(netest.data) && ~isempty(tetest.data)
       run_with_IDA = 1;
       dousebetapol = ''; % can use Te from IDA
-- 
GitLab