You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As users experienced, a number of examples failed. This was due to lack of
backward compatibility. During the first half of April 2013, I went through all
them, modernising where necessary, removing obsolete stuff and removing
redundancy. Wherever necessary I upgraded existing functions, uniforming style
and attempting to make them more robust.
mfLab has a few new directories, which you automatically get when you do an
update in SVN. One of them is mflab/mfiles/testsuites in which you find some
functions that allow you to run any examples in the directory tree downward
from and including the node where you start it. There is one that only runs the
mf_adapt and mf_build mfiles it can find. And there is one that searches all
m-files for the use of a given string. This can be used to find a certain use
of a given functions anywhere in the directory tree. These functions leave a
message behind in the respective directories, telling whether the test failed
and when to redo the test. It is not doing the same test each time you run the
function unless you tell it so or unless the date for retesting has passed.
These functions may not be perfect, but they helped me enormously to achieve
the heavy task of verifying every existing example. You may add the testsuites
directory to the path. Here are the paths that I have in my shortcut.
% Shortcut summary goes here
pathstr = '~/GRWMODELS/mflab/mfiles/';
addpath([pathstr 'write']);
addpath([pathstr 'read']);
addpath([pathstr 'etc']);
addpath([pathstr 'analytic']);
addpath([pathstr 'visualization']);
addpath([pathstr 'gridcoords']);
addpath([pathstr 'fdm']);
addpath([pathstr 'NHI']);
addpath([pathstr 'testSuites']);
fprintf('... mfLab paths set.\n');
Theo Olsthoorn 2013-04-18
Original issue reported on code.google.com by [email protected] on 18 Apr 2013 at 10:54
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 18 Apr 2013 at 10:54The text was updated successfully, but these errors were encountered: