Conversation
Codecov Report
@@ Coverage Diff @@
## master #5 +/- ##
==========================================
- Coverage 25.94% 23.80% -2.14%
==========================================
Files 6 7 +1
Lines 212 231 +19
Branches 27 27
==========================================
Hits 55 55
- Misses 157 176 +19
Continue to review full report at Codecov.
|
|
I'm not sure if I understand when this works. You show the example of when we have a pre-defined tool such as the However, the votca wrapper is freely importable into any custom code, like in the |
|
You are right there is a schema for each command line. But for the wrapper is not necessary because we assume that the user know what she/he is doing |
Add schema validation
having an input in YAML allows the user to provide in a single file all the options. This has the advantage of avoiding passing every option via the command line.
Also the schema package takes care of validating the input.
Now the command line can be called like:
where the example.yml file contains all the user keywords that the user wants to supply. The only mandatory keyword is the path to the molecule. For example the following is a valid input: