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

keep gdat_params consistent with gdat_data.gdat_params to make sure

parent ce2d173c
No related branches found
No related tags found
1 merge request!156Remove ec_inputs from defaults of ec_data call
Checking pipeline status
...@@ -1552,6 +1552,7 @@ elseif strcmp(mapping_for_tcv.method,'switchcase') ...@@ -1552,6 +1552,7 @@ elseif strcmp(mapping_for_tcv.method,'switchcase')
if ~isfield(gdat_data.gdat_params,'ec_inputs') || isempty(gdat_data.gdat_params.ec_inputs) || ~isnumeric(gdat_data.gdat_params.ec_inputs) if ~isfield(gdat_data.gdat_params,'ec_inputs') || isempty(gdat_data.gdat_params.ec_inputs) || ~isnumeric(gdat_data.gdat_params.ec_inputs)
gdat_data.gdat_params.ec_inputs = 0; gdat_data.gdat_params.ec_inputs = 0;
end end
gdat_params.ec_inputs = gdat_data.gdat_params.ec_inputs;
% create structure for icd sources from params and complete with defaults % create structure for icd sources from params and complete with defaults
source_icd.ec = 'toray'; source_icd.ec = 'toray';
......
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