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

avoid keyboards

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@11649 d63d8f72-b253-0410-a779-e742ad2e26cf
parent e82fcd74
No related branches found
No related tags found
No related merge requests found
...@@ -194,7 +194,7 @@ if usemdsplus ...@@ -194,7 +194,7 @@ if usemdsplus
adata.edition_in = str2num(ed_number); adata.edition_in = str2num(ed_number);
end end
adata.edition_out = mdsvalue(['_oed' user diagname]); adata.edition_out = mdsvalue(['_oed' user diagname]);
if mod(error,2)==2; keyboard; end if mod(error,2)==2; disp(['error even for ' diagname ' ; ' sigtype]); end
% begin some fix %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % begin some fix %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% fix some problems (seems not needed anymore with lxmdsplus.aug.ipp.mpg.de, but do with mdsplus.aug.ipp.mpg.de (so leave for some timing tests) % fix some problems (seems not needed anymore with lxmdsplus.aug.ipp.mpg.de, but do with mdsplus.aug.ipp.mpg.de (so leave for some timing tests)
nb_surfaces_m1 = 40; nb_surfaces_m1 = 40;
...@@ -227,9 +227,8 @@ if usemdsplus ...@@ -227,9 +227,8 @@ if usemdsplus
if numel(time) ~= numel(adata.data) if numel(time) ~= numel(adata.data)
idim0 = 1; idim0 = 1;
eval(['time=mdsvalue(''dim_of(_rdaeff' user diagname ',' num2str(idim0) ')'');']); eval(['time=mdsvalue(''dim_of(_rdaeff' user diagname ',' num2str(idim0) ')'');']);
if numel(time) ~= numel(adata.data) if numel(time) ~= numel(adata.data) && (ischar(adata.data) && isempty(strfind(lower(adata.data),'abort')))
warning(['problem with dim for: ' diagname ', ' sigtype]) warning(['problem with dim for: ' diagname ', ' sigtype])
keyboard
end end
end end
time = reshape(time,1,length(time)); time = reshape(time,1,length(time));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment