Nathan Baker
1b0ad999b1
Remove unnecessary exception catching.
...
Fixes https://github.com/jensengroup/propka-3.1/pull/36#discussion_r429063049
2020-05-23 08:06:54 -07:00
Nathan Baker
6288711209
Update requirements with pandas.
...
See https://github.com/jensengroup/propka-3.1/pull/36#discussion_r429106093
2020-05-22 21:04:09 -07:00
Nathan Baker
2266e0a102
Consistent test naming.
...
See https://github.com/jensengroup/propka-3.1/pull/36#discussion_r429099054
2020-05-22 20:55:58 -07:00
Nathan Baker
48f69eb544
Support Python 3.5 and higher.
...
See https://github.com/jensengroup/propka-3.1/pull/36#discussion_r429094884
2020-05-22 20:41:59 -07:00
Nathan Baker and Oliver Beckstein
03e12ae15c
Update propka/lib.py
...
I cannot spell.
Co-authored-by: Oliver Beckstein <orbeckst@gmail.com >
2020-05-22 20:22:30 -07:00
Nathan Baker
f13d3d8121
PROPKA testing working with pytest.
2020-05-21 15:50:23 -07:00
Nathan Baker
fc27d8bfc3
Fix bugs in invocation and options.
...
Add non-command-arguments.
Restore --quiet option.
2020-05-21 11:53:03 -07:00
Nathan Baker
393f5cee50
Rename "Tests" directory for consistency.
2020-05-21 10:39:08 -07:00
Nathan Baker
fa4a547f1f
Enforce Python 3.*.
2020-05-21 10:29:45 -07:00
Nathan Baker
17bad90dc4
Start fixing tests.
2020-05-18 20:37:56 -07:00
Nathan Baker
e9a88bee4b
Restore Tests/runtest.py.
...
Also update README.md to document the existence of multiple tests.
2020-05-18 16:23:39 -07:00
Nathan Baker
61c200c3f4
Remove duplicate tests.
2020-05-16 18:18:15 -07:00
Nathan Baker
0fbaa6711f
Update minor version number.
...
Addresses
https://github.com/jensengroup/propka-3.1/pull/29#discussion_r424575807
2020-05-16 17:06:28 -07:00
Nathan Baker
6c67ef152c
Remove unnecessary OptionParser statements.
...
Addresses
https://github.com/jensengroup/propka-3.1/pull/29#discussion_r424418158 .
2020-05-16 16:58:19 -07:00
Nathan Baker
9cafb41e06
Document acceptable error in PROPKA tests.
...
Addresses
https://github.com/jensengroup/propka-3.1/pull/29#discussion_r424572620
2020-05-16 16:49:47 -07:00
Nathan Baker
cddda2f515
Fix verbosity/logging in PROPKA.
2020-05-14 19:02:11 -07:00
Nathan Baker
387d0a5664
Move argparse sub-command to group.
2020-05-12 14:27:46 -07:00
Nathan Baker
847004a2d6
Fix subparser syntax for argparse.
2020-05-12 13:51:44 -07:00
Nathan Baker
6ddc32c101
Add newline to end of __init__.py.
2020-05-12 13:51:24 -07:00
Nathan Baker
ae7e8b6430
Replace optparse with argparse.
...
Optparse is deprecated. Argparse will allow tighter integration with
PDB2PQR/APBS.
2020-05-12 13:13:28 -07:00
Nathan Baker
aeb1663d7b
Add code to clean up files after test.
2020-05-10 19:19:37 -07:00
Nathan Baker
997298f1f0
Loosen error tolerance in test.
...
The PROPKA31 tests fail on Windows 10 Ubuntu 18.04 Windows Subsystem
Linux without any changes. The relative error is less than 1e-3. This
commit chnages the behavior to a test of absolute agreement to a test of
relative error less than 1e-3.
2020-05-10 18:29:51 -07:00
Nathan Baker
4fa015a54e
Fix typo in PROPKA test.
...
Fail() -> fail().
2020-05-10 18:18:36 -07:00
Nathan Baker
2bd7e70249
Load data from JSON rather than pickle.
...
Increases platform independence.
2020-05-05 11:55:45 -07:00
Nathan Baker
726d6aa412
Update __init__.py.
...
Fix __all__ list and add docstring to point users to PROPKA website when
used as module.
2020-05-05 11:38:36 -07:00