Changeset 1100 for trunk/src/series.m
- Timestamp:
- Apr 23, 2021, 4:59:15 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series.m
r1097 r1100 1773 1773 OutputDir=Param.ActionInput.LogPath; 1774 1774 end 1775 1775 if isfield(Param,'OutputSubDir') 1776 1776 set(handles.OutputSubDir,'String',Param.OutputSubDir) 1777 1777 set(handles.OutputDirExt,'String',Param.OutputDirExt) 1778 1778 drawnow 1779 end 1779 1780 if get(handles.Replicate,'Value') 1780 1781 set(handles.InputTable,'Data',Param.InputTable) 1781 check_input_file_series(handles) 1782 set(handles.OutputPath,'String',Pathout) 1783 set(handles.Experiment,'String',ListExp{iexp}) 1784 set(handles.Device,'String',ListDevices{iexp}) 1785 check_input_file_series(handles) 1782 1786 end 1783 1787 DirXml=fullfile(OutputDir,'0_XML'); … … 2477 2481 2478 2482 %% Detect the types of input files and set menus and default options in 'VelType' 2479 iview_civ=find(strcmp('civx',SeriesData.FileType)|strcmp('civdata',SeriesData.FileType)); 2483 if ~isfield(SeriesData,'FileType') 2484 SeriesData.FileType={'none'}; 2485 end 2486 iview_civ=find( strcmp('civx',SeriesData.FileType)|strcmp('civdata',SeriesData.FileType)); 2480 2487 iview_netcdf=find(strcmp('netcdf',SeriesData.FileType)|strcmp('civx',SeriesData.FileType)|strcmp('civdata',SeriesData.FileType)); % all nc files, icluding civ 2481 2488 FieldList=get(handles.FieldName,'String'); % previous list as default … … 2652 2659 %% enable or desable j index visibility 2653 2660 status_j='on'; % default 2654 if is empty(find(~cellfun(@isempty,SeriesData.j1_series), 1));% case of empty j indices2661 if isfield(SeriesData,'j1_series') && isempty(find(~cellfun(@isempty,SeriesData.j1_series), 1)) % case of empty j indices 2655 2662 status_j='off'; % no j index needed 2656 2663 elseif strcmp(get(handles.PairString,'Visible'),'on')
Note: See TracChangeset
for help on using the changeset viewer.