Ignore:
Timestamp:
Apr 30, 2018, 8:01:35 PM (6 years ago)
Author:
sommeria
Message:

miscellaneous updates

File:
1 edited

Legend:

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

    r1027 r1033  
    125125
    126126%determine the file type on each line from the first input file
    127 ImageTypeOptions={'image','multimage','mmreader','video','cine_phantom'};
    128127NcTypeOptions={'netcdf','civx','civdata'};
    129128for iview=1:nbview
     
    134133    [FileInfo{iview},MovieObject{iview}]=get_file_info(filecell{iview,1});
    135134    FileType{iview}=FileInfo{iview}.FileType;
    136     CheckImage{iview}=~isempty(find(strcmp(FileType{iview},ImageTypeOptions)));% =1 for images
     135    CheckImage{iview}=strcmp(FileInfo{iview}.FieldType,'image');% =1 for images
    137136    CheckNc{iview}=~isempty(find(strcmp(FileType{iview},NcTypeOptions)));% =1 for netcdf files
    138137    if ~isempty(j1_series{iview})
Note: See TracChangeset for help on using the changeset viewer.