Skip to content
Snippets Groups Projects
Commit f395ed3d authored by preischig's avatar preischig
Browse files

gtMatchSaveFitParameters: dialog text changed; added comments


Signed-off-by: default avatarpreischig <preischig@gmail.com>
parent ab6bad35
No related branches found
No related tags found
No related merge requests found
......@@ -16,8 +16,8 @@ function handles = gtMatchSaveFitParameters(handles)
% Dialog window
msg{1} = 'This will overwrite the current parameters in the parameters file.';
msg{2} = 'Initial parameters have been backed up in 3_pairmatching/.';
msg{3} = 'Would you like to proceed?';
%msg{2} = 'Initial parameters have been backed up in 3_pairmatching/.';
msg{2} = 'Would you like to proceed?';
choice = questdlg(msg,'Save parameters','Yes','Cancel','Yes');
switch choice
......@@ -25,8 +25,6 @@ switch choice
return
end
% Load parameters file
parameters = handles.parameters;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
......@@ -79,6 +77,11 @@ if ~isempty(handles.UsedPhases)
end
% trying to save used families in cryst structure
% !!! Notes by PReischig:
% To be fixed! This may save the wrong data. The fitting may be done with reduced or
% different families than the actual matching. It should be in the
% result saving function. This should be contained in
% parameters.match instead. Double check the use of UsedHKLs!
parameters.cryst(ip).usedfam = ismember(parameters.cryst(ip).hkl', handles.UsedHKLs', 'rows')';
end
......
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