Closed philippkraft closed 6 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
spotpy/unittests/test_cli.py | 35 | 36 | 97.22% | ||
spotpy/parallel/mproc.py | 6 | 8 | 75.0% | ||
spotpy/parallel/mpi.py | 0 | 3 | 0.0% | ||
spotpy/parallel/umproc.py | 0 | 6 | 0.0% | ||
spotpy/cli.py | 46 | 53 | 86.79% | ||
<!-- | Total: | 88 | 107 | 82.24% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
spotpy/parallel/umproc.py | 1 | 0.0% | ||
spotpy/algorithms/mle.py | 1 | 91.84% | ||
spotpy/algorithms/sa.py | 1 | 82.86% | ||
spotpy/algorithms/abc.py | 1 | 88.79% | ||
spotpy/algorithms/demcz.py | 1 | 91.35% | ||
spotpy/parallel/mpi.py | 2 | 0.0% | ||
spotpy/algorithms/rope.py | 3 | 90.0% | ||
<!-- | Total: | 10 | --> |
Totals | |
---|---|
Change from base Build 561: | -1.4% |
Covered Lines: | 4544 |
Relevant Lines: | 5073 |
This PR supersedes mainly #143, but contains also some older changes for the MPI parallelization (sorry for the mix up) and the presentation of describe as html in the browser. Documentation for the command line interface is still missing. Usage in code can be seen in examples/cli_cmf_lumped and usage from the command line is shown by the help
Invocation of a 100 Monte Carlo runs:
The cli module is not imported automatically with spotpy to keep the
click
dependency optional. The cli supports also the use of environmental variables, likeSPOTPY_RUNS
orSPOTPY_DBFORMAT
. A third option is to use a configuration file spotpy.conf.