Skip to content
Snippets Groups Projects
Commit 6a1417f4 authored by Laura Nervo's avatar Laura Nervo
Browse files

gtCheckParameters : fixed bug with default parameters' check


Signed-off-by: default avatarLaura Nervo <laura.nervo@esrf.fr>
parent 0f06fe74
No related branches found
No related tags found
No related merge requests found
......@@ -231,8 +231,8 @@ if ~isempty( findValueIntoCell(checkType, {'default', 'all'}) )
tmp_par = build_structure(tmp_list, '__', debug);
parameters.(section_name) = gtAddMatFile(parameters.(section_name), tmp_par.(section_name), false, true, true);
parameters.(section_name) = gtModifyStructure(parameters.(section_name), tmp_list, [], 'Adding default missing parameters used in the code:\nYou should be an expert user; if not, press Quit...');
list_tocheck = [list_tocheck; [tmp_list action]];
parameters.(section_name) = gtModifyStructure(parameters.(section_name), tmp_list.(section_name), [], 'Adding default missing parameters used in the code:\nYou should be an expert user; if not, press Quit...');
list_tocheck = [list_tocheck; [tmp_list.(section_name) action]];
end
% #2 C
......
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