Changeset 896 for trunk/src/series
- Timestamp:
- May 23, 2015, 5:09:49 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_series.m
r895 r896 328 328 if ~isempty(RUNHandle)% update the waitbar in interactive mode with GUI series (checkrun=1) 329 329 update_waitbar(WaitbarHandle,ifield/NbField) 330 if get(RUNHandle,'Value')&&~strcmp(get(RUNHandle,'BusyAction'),'queue')330 if ~strcmp(get(RUNHandle,'BusyAction'),'queue') 331 331 disp('program stopped by user') 332 332 break … … 355 355 % if Civ1 computation is requested 356 356 if isfield (Param.ActionInput,'Civ1') 357 disp('civ1 started') 357 358 par_civ1=Param.ActionInput.Civ1; 358 359 if CheckInputFile % read input images (except in mode Test where it is introduced directly in Param.ActionInput.Civ1.ImageNameA and B) … … 496 497 %% Fix1 497 498 if isfield (Param.ActionInput,'Fix1') 499 disp('fix1 started') 498 500 if ~isfield (Param.ActionInput,'Civ1')% if we use existing Civ1, remove previous data beyond Civ1 499 501 Fix1_attr=find(strcmp('Fix1',Data.ListGlobalAttribute)); … … 519 521 %% Patch1 520 522 if isfield (Param.ActionInput,'Patch1') 523 disp('patch1 started') 521 524 if check_civx 522 525 errormsg='Civ Matlab input needed for patch'; … … 559 562 Data.Civ1_V_smooth(ind_good)=Vres; 560 563 Data.Civ1_FF(ind_good)=FFres; 564 disp('patch1 performed') 561 565 end 562 566 563 567 %% Civ2 564 568 if isfield (Param.ActionInput,'Civ2') 569 disp('civ2 started') 565 570 par_civ2=Param.ActionInput.Civ2; 566 571 if CheckInputFile % read input images (except in mode Test where it is introduced directly in Param.ActionInput.Civ1.ImageNameA and B) … … 751 756 Data.Civ2_C=reshape(ctable,[],1); 752 757 Data.Civ2_F=reshape(F,[],1); 758 disp('civ2 performed') 753 759 elseif ~isfield(Data,'ListVarName') % we start there, using existing Civ2 data 754 760 if exist('ncfile','var') … … 773 779 %% Fix2 774 780 if isfield (Param.ActionInput,'Fix2') 781 disp('fix2 started') 775 782 list_param=fieldnames(Param.ActionInput.Fix2)'; 776 783 Fix2_param=regexprep(list_param,'^.+','Fix2_$0');% insert 'Fix1_' before each string in ListFixParam … … 804 811 Data.CivStage=Data.CivStage+1; 805 812 end 806 807 813 end 808 814 809 815 %% Patch2 810 816 if isfield (Param.ActionInput,'Patch2') 817 disp('patch2 started') 811 818 list_param=fieldnames(Param.ActionInput.Patch2)'; 812 819 list_param(strcmp('TestPatch2',list_param))=[];% remove the parameter TestCiv1 from the list … … 841 848 Data.Civ2_FF(ind_good)=FFres; 842 849 Data.CivStage=Data.CivStage+1; 850 disp('patch2 performed') 843 851 end 844 852
Note: See TracChangeset
for help on using the changeset viewer.