Changeset 577 for trunk/src/series


Ignore:
Timestamp:
Mar 4, 2013, 8:25:08 AM (11 years ago)
Author:
sommeria
Message:

bug corrected in merge_proj

File:
1 edited

Legend:

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

    r573 r577  
    8383end
    8484
    85 %% root input file(s) and type
     85%% root input file type
    8686RootPath=Param.InputTable(:,1);
    8787RootFile=Param.InputTable(:,3);
     
    221221            %% check whether tps is needed, then calculate tps coefficients if needed
    222222            check_tps=0;
    223             if ischar(Param.InputFields.FieldName)
    224                 Param.InputFields.FieldName={Param.InputFields.FieldName};
     223            if isfield(Param.InputFields,'FieldName')
     224                if ischar(Param.InputFields.FieldName)
     225                    Param.InputFields.FieldName={Param.InputFields.FieldName};
     226                end
     227            else
     228                Param.InputFields.FieldName={};
    225229            end
    226230            for ilist=1:numel(Param.InputFields.FieldName)
Note: See TracChangeset for help on using the changeset viewer.