Skip to content

Commit

Permalink
Analyze all cancellation for some users:
Browse files Browse the repository at this point in the history
Added a more detailed error message with a link to the google groups thread.
  • Loading branch information
Shrediquette committed Aug 12, 2022
1 parent 01105b6 commit 1333946
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions PIVlab_GUI.m
Original file line number Diff line number Diff line change
Expand Up @@ -4914,10 +4914,13 @@ function step_Callback(~, ~, ~)
delete('cancel_piv');
put('cancel',0);
warning on
catch
catch ME
disp('There was an error deleting a temporary file.')
disp('Please check if this solves your problem:')
disp('https://groups.google.com/g/PIVlab/c/2O2EXgGg6Uc')
disp(ME)
end
if ok==1

try
if get(handles.update_display_checkbox,'Value')==1
put('update_display',1);
Expand Down Expand Up @@ -5055,7 +5058,6 @@ function step_Callback(~, ~, ~)
end
parfor i=1:size(slicedfilepath1,2)
if exist('cancel_piv','file')
%disp('cancelled')
close(hbar);
continue
end
Expand Down Expand Up @@ -5143,7 +5145,6 @@ function step_Callback(~, ~, ~)
parfor i=1:size(slicedfilepath1,2)
%------------------------
if exist('cancel_piv','file')
%disp('cancelled')
close(hbar);
continue
end
Expand Down Expand Up @@ -5386,7 +5387,11 @@ function step_Callback(~, ~, ~)
recycle('off');
delete('cancel_piv')
warning on
catch
catch ME
disp('There was an error deleting a temporary file.')
disp('Please check if this solves your problem:')
disp('https://groups.google.com/g/PIVlab/c/2O2EXgGg6Uc')
disp(ME)
end
assignin('base','correlation_matrices',correlation_matrices_list);
end
Expand Down Expand Up @@ -5763,7 +5768,6 @@ function cancelbutt_Callback(~, ~, ~)
fwrite(fileID,1);
fclose(fileID);


drawnow;
toolsavailable(1);

Expand Down

0 comments on commit 1333946

Please sign in to comment.