thouska / spotpy

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

Add starter code for unified CLI [WIP] #143

Closed havanagrawal closed 6 years ago

havanagrawal commented 6 years ago

This is a WIP PR for discussing approach, design and implementation of resolving issue #139

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 506


Changes Missing Coverage Covered Lines Changed/Added Lines %
spotpy/unittests/test_cli.py 6 13 46.15%
<!-- Total: 6 13 46.15% -->
Files with Coverage Reduction New Missed Lines %
spotpy/algorithms/sa.py 1 82.86%
spotpy/algorithms/mle.py 1 91.84%
spotpy/algorithms/dream.py 1 89.0%
spotpy/algorithms/abc.py 2 89.72%
spotpy/database.py 2 88.46%
spotpy/algorithms/fscabc.py 3 83.33%
spotpy/algorithms/demcz.py 5 91.35%
spotpy/parameter.py 7 97.0%
spotpy/unittests/test_describe.py 15 95.0%
spotpy/unittests/test_gui_mpl.py 25 93.75%
<!-- Total: 197 -->
Totals Coverage Status
Change from base Build 505: -0.3%
Covered Lines: 4993
Relevant Lines: 5601

💛 - Coveralls
thouska commented 6 years ago

Hi @havanagrawal, i think the use of a command line interface to spotpy is now possible given the pull request #174 by @philippkraft. This should also solve #139. Less work for you :) Feel free to give it a try.