Ignore:
Timestamp:
Jun 16, 2015, 8:15:10 PM (9 years ago)
Author:
sommeria
Message:

interp range introduced in set_object

File:
1 edited

Legend:

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

    r908 r912  
    154154                    if strcmp(FileType{iview},'civx')||strcmp(FileType{iview},'civdata')
    155155                        if isfield(FileInfo,'CivStage')
    156                             liststage={'civ1','fix1','patch1','civ2','fix2','patch2'};
    157                             lastfield=liststage{FileInfo.CivStage};
     156                            liststage={'civ','fix','patch'};
     157                            stagechoice=1+mod(FileInfo.CivStage-1,3);
     158                            iter=1+floor((FileInfo.CivStage-1)/3);
     159                            lastfield=[liststage{stagechoice} num2str(iter)];
     160                            %liststage={'civ1','fix1','patch1','civ2','fix2','patch2'};                       
     161                            %lastfield=liststage{FileInfo.CivStage};                           
    158162                        end
    159163                    end
Note: See TracChangeset for help on using the changeset viewer.