thouska / spotpy

A Statistical Parameter Optimization Tool
https://spotpy.readthedocs.io/en/latest/
MIT License
254 stars 152 forks source link

Constant parameter problems #177

Closed philippkraft closed 6 years ago

philippkraft commented 6 years ago

166 and #175 occur because spotpy does not know in the algorithms, that it is using constant parameters. This PR introduces (and tests) a find_constant_parameters function that returns a mask for constant parameters. @thouska needs to implement the masks in the algorithms. Due to git mixup on my fork some older fixes are occuring in this PR also. They are also in #176.

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 567


Changes Missing Coverage Covered Lines Changed/Added Lines %
spotpy/parallel/mproc.py 6 8 75.0%
spotpy/parallel/mpi.py 0 3 0.0%
spotpy/parallel/umproc.py 0 6 0.0%
<!-- Total: 28 39 71.79% -->
Files with Coverage Reduction New Missed Lines %
spotpy/parallel/umproc.py 1 0.0%
spotpy/algorithms/sa.py 1 84.29%
spotpy/parallel/mpi.py 2 0.0%
<!-- Total: 4 -->
Totals Coverage Status
Change from base Build 563: 0.04%
Covered Lines: 4481
Relevant Lines: 5000

💛 - Coveralls