Skip to content
Snippets Groups Projects
Commit 148b1907 authored by Olivier Sauter's avatar Olivier Sauter
Browse files

use more recent shot nb for tests, add exceptions

parent 1d71e5c6
No related branches found
No related tags found
1 merge request!170Fix firratio
Pipeline #209139 failed
...@@ -602,7 +602,7 @@ switch lower(data_request) ...@@ -602,7 +602,7 @@ switch lower(data_request)
mapping.method = 'tdiliuqe'; mapping.method = 'tdiliuqe';
mapping.expression = '\results::te_x_a[*,12]'; mapping.expression = '\results::te_x_a[*,12]';
mapping.method = 'expression'; mapping.method = 'expression';
mapping.expression = ['params_eff = gdat_data.gdat_params;params_eff.data_request=''\results::te_x_a[*,12]''; ' ... mapping.expression = ['if shot > 78662, disp(''no XTE anymore'');gdat_tmp.data=[];return;end;params_eff = gdat_data.gdat_params;params_eff.data_request=''\results::te_x_a[*,12]''; ' ...
'gdat_tmp=gdat_tcv([],params_eff); ' ... 'gdat_tmp=gdat_tcv([],params_eff); ' ...
'params_eff = gdat_data.gdat_params;params_eff.data_request=''\magnetics::iplasma:trapeze''; ' ... 'params_eff = gdat_data.gdat_params;params_eff.data_request=''\magnetics::iplasma:trapeze''; ' ...
'aa=gdat_tcv([],params_eff);it=find(abs(aa.data)<10e3);it2=iround_os(gdat_tmp.t,aa.t(it));gdat_tmp.data(it2)=NaN;' ... 'aa=gdat_tcv([],params_eff);it=find(abs(aa.data)<10e3);it2=iround_os(gdat_tmp.t,aa.t(it));gdat_tmp.data(it2)=NaN;' ...
......
...@@ -36,6 +36,10 @@ classdef (SharedTestFixtures={... ...@@ -36,6 +36,10 @@ classdef (SharedTestFixtures={...
% need a newer shot for tcv radcam % need a newer shot for tcv radcam
shot = 81102; shot = 81102;
gdat_call = sprintf(['gdat_' lower(testCase.Machine) '(%s,''%s'')'],shot,request); gdat_call = sprintf(['gdat_' lower(testCase.Machine) '(%s,''%s'')'],shot,request);
case {'mpx', 'xte'}
% need a older shot
shot = 65555;
gdat_call = sprintf(['gdat_' lower(testCase.Machine) '(%s,''%s'')'],shot,request);
end end
% logging % logging
......
...@@ -7,7 +7,7 @@ classdef (TestTags={'tcv'})test_requestnames_tcv < test_requestnames ...@@ -7,7 +7,7 @@ classdef (TestTags={'tcv'})test_requestnames_tcv < test_requestnames
properties(TestParameter) properties(TestParameter)
% parameters that will vary during tests % parameters that will vary during tests
shot = {'65565'}; shot = {'82913'};
requests_fast = get_all_gdat_requests('TCV','fast'); requests_fast = get_all_gdat_requests('TCV','fast');
requests_slow = get_all_gdat_requests('TCV','slow'); requests_slow = get_all_gdat_requests('TCV','slow');
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment