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

comment r_rho (r_contour), surfaces of all rho since not ready yet from liuqe.m

parent aeb702d8
No related branches found
No related tags found
1 merge request!4Feature/testsuite
...@@ -333,12 +333,12 @@ switch lower(data_request) ...@@ -333,12 +333,12 @@ switch lower(data_request)
mapping.timedim = 2; mapping.timedim = 2;
mapping.label = 'R B_\phi'; mapping.label = 'R B_\phi';
mapping.method = 'switchcase'; mapping.method = 'switchcase';
case 'r_contour' % $$$ case 'r_contour' % r_rho not yet implemented
mapping.timedim = 2; % $$$ mapping.timedim = 2;
mapping.method = 'tdiliuqe'; % $$$ mapping.method = 'tdiliuqe';
mapping.expression = '\results::r_contour'; % $$$ mapping.expression = '\results::r_contour';
mapping.expression = '\tcv_shot::top.results.equil_1.results:r_rho'; % several flux surfaces R coordinates (irho,itheta,t) % $$$ mapping.expression = '\tcv_shot::top.results.equil_1.results:r_rho'; % several flux surfaces R coordinates (irho,itheta,t)
mapping.expression = 'tcv_eq(''''r_rho'''',''''LIUQE.M'''')'; % $$$ mapping.expression = 'tcv_eq(''''r_rho'''',''''LIUQE.M'''')';
case 'r_contour_edge' case 'r_contour_edge'
mapping.timedim = 2; mapping.timedim = 2;
mapping.method = 'tdiliuqe'; mapping.method = 'tdiliuqe';
...@@ -461,12 +461,12 @@ switch lower(data_request) ...@@ -461,12 +461,12 @@ switch lower(data_request)
mapping.expression = '\tcv_shot::top.results.equil_1.results:w_mhd'; mapping.expression = '\tcv_shot::top.results.equil_1.results:w_mhd';
mapping.expression = 'tcv_eq(''''w_mhd'''',''''LIUQE.M'''')'; mapping.expression = 'tcv_eq(''''w_mhd'''',''''LIUQE.M'''')';
% $$$ end % $$$ end
case 'z_contour' % $$$ case 'z_contour' % z_rho not yet implemented
mapping.timedim = 2; % $$$ mapping.timedim = 2;
mapping.method = 'tdiliuqe'; % $$$ mapping.method = 'tdiliuqe';
mapping.expression = '\results::z_contour'; % $$$ mapping.expression = '\results::z_contour';
mapping.expression = '\tcv_shot::top.results.equil_1.results:z_rho'; % several flux surfaces Z coordinates (irho,itheta,t) % $$$ mapping.expression = '\tcv_shot::top.results.equil_1.results:z_rho'; % several flux surfaces Z coordinates (irho,itheta,t)
mapping.expression = 'tcv_eq(''''z_rho'''',''''LIUQE.M'''')'; % $$$ mapping.expression = 'tcv_eq(''''z_rho'''',''''LIUQE.M'''')';
case 'z_contour_edge' case 'z_contour_edge'
mapping.timedim = 2; mapping.timedim = 2;
mapping.method = 'tdiliuqe'; mapping.method = 'tdiliuqe';
......
...@@ -6,6 +6,7 @@ function [passed,results] = run_gdat_tests(test_case) ...@@ -6,6 +6,7 @@ function [passed,results] = run_gdat_tests(test_case)
if nargin==0 || isempty(test_case) if nargin==0 || isempty(test_case)
test_case = 'basic'; % default test_case = 'basic'; % default
end end
test_case = lower(test_case);
%% Import some classes we need %% Import some classes we need
import matlab.unittest.selectors.HasTag; import matlab.unittest.selectors.HasTag;
...@@ -25,19 +26,19 @@ switch test_case ...@@ -25,19 +26,19 @@ switch test_case
case 'all' case 'all'
suite = suite_all; % run all suite = suite_all; % run all
case 'basic' case 'basic'
s = ~HasTag('Slow'); s = ~HasTag('slow');
suite = suite_all.selectIf(s); suite = suite_all.selectIf(s);
case 'IMAS' case 'imas'
s = HasTag('IMAS'); s = HasTag('imas');
suite = suite_all.selectIf(s); suite = suite_all.selectIf(s);
case 'TCV' case 'tcv'
s = HasName(ContainsSubstring('TCV')); s = HasName(ContainsSubstring('TCV'));
suite = suite_all.selectIf(s); suite = suite_all.selectIf(s);
case 'AUG' case 'aug'
s = HasName(ContainsSubstring('AUG')); s = HasName(ContainsSubstring('aug'));
suite = suite_all.selectIf(s); suite = suite_all.selectIf(s);
otherwise otherwise
error('not yet implemented') error('not yet implemented')
end end
...@@ -64,5 +65,3 @@ else ...@@ -64,5 +65,3 @@ else
end end
passed = false; passed = false;
end end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment