Changeset 919 for trunk/src/series.m
- Timestamp:
- Jun 26, 2015, 5:14:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series.m
r918 r919 1764 1764 1765 1765 1766 %% direct processing on the current Matlab session 1767 % if strcmp (RunMode,'local') 1766 %% direct processing on the current Matlab session or creation of command files 1767 filexml=cell(1,NbProcess);% initialisation of the names of the files containing the processing parameters 1768 extxml=cell(1,NbProcess); % initialisation of the set of labels used for the files documenting each process 1768 1769 for iprocess=1:NbProcess 1769 1770 if ~strcmp(get(handles.RUN,'BusyAction'),'queue')% allow for STOP action … … 1773 1774 if isempty(Param.IndexRange.NbSlice) 1774 1775 Param.IndexRange.first_i=first_i+(iprocess-1)*BlockLength*incr_i; 1775 % Param.IndexRange.first_i=ref_i(1+(iprocess-1)*BlockLength);1776 % Param.IndexRange.first_i=ref_i(1+(iprocess-1)*BlockLength); 1776 1777 if Param.IndexRange.first_i>last_i 1777 1778 NbProcess=iprocess-1;% leave the loop, we are at the end of the calculation … … 1782 1783 Param.IndexRange.last_i=min(last_i,first_i+(iprocess)*BlockLength*incr_i-1); 1783 1784 else %multislices (then incr_i is not empty) 1784 % Param.IndexRange.first_i= first_i+incr_i*(iprocess-1);1785 % Param.IndexRange.incr_i=incr_i*Param.IndexRange.NbSlice;1785 % Param.IndexRange.first_i= first_i+incr_i*(iprocess-1); 1786 % Param.IndexRange.incr_i=incr_i*Param.IndexRange.NbSlice; 1786 1787 Param.IndexRange.first_i= first_i+iprocess-1; 1787 1788 Param.IndexRange.incr_i=incr_i*Param.IndexRange.NbSlice; … … 1809 1810 extxml{iprocess}=fullfile_uvmat('','',Param.InputTable{1,3},'.xml',OutputNomType,... 1810 1811 Param.IndexRange.first_i,Param.IndexRange.last_i,first_j,last_j); 1811 filexml{iprocess}=fullfile(OutputDir,'0_XML',extxml{iprocess}) 1812 save(t, filexml{iprocess});% save the xml file containing the processing parameters 1812 filexml{iprocess}=fullfile(OutputDir,'0_XML',extxml{iprocess}); 1813 try 1814 save(t, filexml{iprocess});% save the xml file containing the processing parameters 1815 catch ME 1816 if ~strcmp (RunMode,'local') 1817 errormsg=['error writting ' filexml{iprocess} ': ' ME.message]; 1818 return 1819 end 1820 end 1813 1821 end 1814 1822 if strcmp (RunMode,'local') … … 1827 1835 end 1828 1836 end 1837 1829 1838 if ~strcmp (RunMode,'local') && ~strcmp(RunMode,'python') 1830 1839 %% processing on a different session of the same computer (background) or cluster, create executable files
Note: See TracChangeset
for help on using the changeset viewer.