Ignore:
Timestamp:
Jun 25, 2012, 10:50:51 AM (12 years ago)
Author:
sommeria
Message:

bugs corrected +
* filter parameter multiplied by 1000 in filter_tps*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/check_files.m

    r475 r476  
    5454    'fileparts_uvmat';...% extracts the root name,field indexes and nomenclature type from an input filename
    5555    'fill_GUI';...% fill a GUI with handles 'handles' from input data Param
     56    'filter_tps';...% find the thin plate spline coefficients for interpolation-smoothing
    5657    'find_field_indices';...% group the variables of a nc-formated Matlab structure into 'fields' with common dimensions
    5758    'find_file_series';...%check the content of an input file and find the corresponding file series
     
    128129
    129130%% loop on the list of functions in the uvmat package
    130 
    131131icount=0;
    132132datnum=zeros(1,length(list_fct));
     
    160160        [tild,result]=system(['svn status'  dir_fct]);
    161161        svn_info.status=result;
     162        errormsg =[errormsg {['SVN revision : ' num2str(svn_info.cur_rev)]}];
    162163        if svn_info.rep_rev>svn_info.cur_rev
    163             errormsg {length(errormsg)+1}=['Repository now at revision ' num2str(svn_info.rep_rev) '. Please type svn update in uvmat folder'];
     164            errormsg =[errormsg ...
     165                {['Repository now at revision ' num2str(svn_info.rep_rev) '. Please type svn update in uvmat folder']}];
    164166        end
    165167        modifications=regexp(svn_info.status,'M\s[^(\n|\>)]+','match');
    166168        if ~isempty(modifications)
    167             for k=1:length(modifications)
    168                 errormsg {length(errormsg)+1}=modifications{k};
    169             end
     169            errormsg=[errormsg modifications];
    170170        end
     171    else
     172        errormsg=[errormsg {'SVN not available'}];
    171173    end
    172174catch ME
    173     errormsg=ME.message;
     175    errormsg=[errormsg {'SVN not available'}];
    174176end
    175177errormsg=errormsg';
Note: See TracChangeset for help on using the changeset viewer.