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

fix new problem with upper case data requested

git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@11424 d63d8f72-b253-0410-a779-e742ad2e26cf
parent 84e8bf32
No related branches found
No related tags found
No related merge requests found
...@@ -236,6 +236,7 @@ else ...@@ -236,6 +236,7 @@ else
end end
if ~isempty(ij); if ~isempty(ij);
gdat_data.gdat_request = data_request_names_all{ij}; gdat_data.gdat_request = data_request_names_all{ij};
gdat_params.data_request = gdat_data.gdat_request;
if isfield(data_request_names.all.(data_request_names_all{ij}),'description') && ~isempty(data_request_names.all.(data_request_names_all{ij}).description) if isfield(data_request_names.all.(data_request_names_all{ij}),'description') && ~isempty(data_request_names.all.(data_request_names_all{ij}).description)
% copy description of keyword % copy description of keyword
gdat_data.request_description = data_request_names.all.(data_request_names_all{ij}).description; gdat_data.request_description = data_request_names.all.(data_request_names_all{ij}).description;
...@@ -254,7 +255,7 @@ if ~isfield(gdat_params,'data_request') || isempty(gdat_params.data_request) ...@@ -254,7 +255,7 @@ if ~isfield(gdat_params,'data_request') || isempty(gdat_params.data_request)
error_status=5; error_status=5;
return return
end end
gdat_data.gdat_params = gdat_params; gdat_data.gdat_params = gdat_params; % This means that before here it is gdat_params which should be updated
% re-assign main variables to make sure use the one in gdat_data structure % re-assign main variables to make sure use the one in gdat_data structure
shot = gdat_data.shot; shot = gdat_data.shot;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment