Ignore:
Timestamp:
Jun 12, 2016, 5:09:47 PM (5 years ago)
Author:
sommeria
Message:

bugs repaired

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/civ_input.m

    r932 r951  
    9797FileType='image';%fdefault
    9898FileInfo=[];
    99 if isfield(SeriesData,'FileType')&&isfield(SeriesData,'FileInfo')
     99if isfield(SeriesData,'FileType')&&isfield(SeriesData,'FileInfo')...
     100        &&numel(SeriesData.FileType)>=1&&numel(SeriesData.FileInfo)>=1
    100101    FileType=SeriesData.FileType{1};%type of the first input file series
    101102    FileInfo=SeriesData.FileInfo{1};% info on the first input file series
     
    214215CoordUnit='';%default
    215216pxcm_search=1;
    216 if isfield(SeriesData,'Time') && ~isempty(SeriesData.Time{1})
     217if isfield(SeriesData,'Time') &&numel(SeriesData.Time')>=1 && ~isempty(SeriesData.Time{1})
    217218    time=SeriesData.Time{1};
    218219end
Note: See TracChangeset for help on using the changeset viewer.