Commit Graph
100 Commits
Author SHA1 Message Date
Nathan Baker 430b631c9d Merge pull request #156 from jensengroup/nathan/154
Update Python support.
2023-02-04 18:47:55 -08:00
Nathan Baker 01bf46ce74 Merge pull request #150 from IAlibay/py311
Update CI and docs for Python up to py311
2022-11-09 18:58:07 -08:00
Nathan Baker 8acfb4fe1b Merge pull request #148 from speleo3/fix-get_pi
Refactor and fix MolecularContainer.get_pi()
2022-08-08 19:52:36 -07:00
Nathan Baker ab80128c45 Merge pull request #141 from latrocinia/master
protonate.py: Rename Vanadium element from Va to V
2022-03-02 20:16:20 -08:00
Nathan Baker beddb0ac87 Merge pull request #124 from danny305/master
CLI parameters for the -g and -w options did not output to .pka out file
2021-11-22 15:09:47 -08:00
Nathan Baker 68007f065c Merge pull request #121 from jensengroup/nathan/docs
Remove numbering from Sphinx documentation.
2020-12-18 19:24:20 -08:00
Nathan Baker a22fd506be Remove numbering from Sphinx documentation.
Fixes #119.
2020-12-17 16:00:00 -08:00
Nathan Baker c443b218a8 Merge pull request #120 from jensengroup/nathan/changelog
Address comments on change log.
2020-12-16 19:35:32 -08:00
Nathan Baker 52e3649e27 Address comments on change log.
See https://github.com/jensengroup/propka/commit/d87afb3df55d97080756c3739af1f856d2b5a94d#commitcomment-45090556
2020-12-15 20:10:40 -08:00
Nathan Baker d87afb3df5 Document changes associated with older releases.
Fixes #117.
2020-12-13 16:49:26 -08:00
Nathan Baker d1df3844fe Fix incorrect restructured text. 2020-12-13 16:46:27 -08:00
Nathan Baker 2f10ecdd1f Merge pull request #114 from jensengroup/issue-17
Missing N or O in AMD Group: Keep going
2020-12-13 10:45:27 -08:00
Nathan Baker 45aa08a79c Merge pull request #109 from jensengroup/nathan/logging
Remove logging abstraction to facilitate debugging and reduce bloat.
2020-12-01 11:55:26 -08:00
Nathan Baker e081bd53b3 Add line breaks to error message.
Fixes https://github.com/jensengroup/propka/pull/109#discussion_r533131022
2020-12-01 06:40:44 -08:00
Nathan Baker de020599d3 Raise error for ligand pKa errors.
Fixes https://github.com/jensengroup/propka/pull/109#discussion_r532735233 per @orbeckst.
2020-11-30 15:21:47 -08:00
Nathan Baker c281623078 Change logging message to error.
Fixes https://github.com/jensengroup/propka/pull/109#discussion_r532735233 based on suggestion from @orbeckst.
2020-11-30 15:17:18 -08:00
Nathan Baker fda4fe577b Merge branch 'master' into nathan/logging 2020-11-29 16:14:43 -08:00
Nathan Baker 9350799be1 Remove logging abstraction to facilitate debugging and reduce bloat.
Also performed minor delinting.

Fixes #108
2020-11-29 16:09:45 -08:00
Nathan Baker f3bbd807ae Merge pull request #100 from IAlibay/rm-propkainput
Removal of PROPKA input
2020-11-29 15:41:28 -08:00
Nathan Baker 67039aabc0 Merge pull request #102 from IAlibay/python3.9
Adds python 3.9 to CI
2020-11-18 09:32:51 -08:00
Nathan Baker d16257af9a Merge pull request #84 from IAlibay/streams
Allows for file-like objects to be passed to read_molecule_file
2020-07-15 18:27:29 -07:00
Nathan Baker 01debbf63d Merge pull request #80 from jensengroup/nathan/link-web-server
Include explicit link to web server
2020-07-12 08:01:48 -07:00
Nathan Baker cc598df660 Merge pull request #79 from jensengroup/nathan/rtd-links
Add links to https://propka.readthedocs.io/
2020-06-29 05:56:13 -07:00
Nathan Baker f8c57bca6f Include explicit link to web server
http://propka.org currently redirects to http://server.poissonboltzmann.org.  However, the http://server.poissonboltzmann.org site does not include any specific documentation for PROPKA.  I'd like @jhjensen2 to update the DNS record for http://propka.org to redirect to https://github.com/jensengroup/propka or https://propka.readthedocs.io/.  However, before he does that, it would be good to make sure that users can still find a link to run PROPKA via http://server.poissonboltzmann.org.  This edit provides that link.
2020-06-27 11:00:19 -07:00
Nathan Baker 8f64bad060 Add links to https://propka.readthedocs.io/ 2020-06-27 10:47:48 -07:00
Nathan Baker da2b285a79 Fix Markdown error 2020-06-27 08:45:31 -07:00
Nathan Baker 6b4e4d2f9d Merge pull request #75 from Becksteinlab/remove-spurious-pandas
remove pandas dependency for tests
2020-06-27 08:43:54 -07:00
Nathan Baker 6d0a07bb1e Merge pull request #76 from Becksteinlab/coverage-updates
coverage updates
2020-06-27 08:43:05 -07:00
Nathan Baker bd5c8f1aa1 Merge pull request #74 from Becksteinlab/increase-sphinx-version
increase sphinx to >= 3.1 in requirements
2020-06-27 08:28:51 -07:00
Nathan Baker 831e738068 Merge pull request #70 from Becksteinlab/sphinx-docs-skeleton
initial sphinx docs
2020-06-22 20:07:28 -07:00
Nathan Baker d982745858 Expand tests to all branches.
Also update README with testing badge.
2020-06-20 08:24:16 -07:00
Nathan Baker 151125b18c Update runner version.
Support wildcard artifact storage.
2020-06-20 08:17:17 -07:00
Nathan Baker 4fd012cb57 Fix YAML error. 2020-06-20 08:12:31 -07:00
Nathan Baker 9fcc69b9a8 Store coverage results as artifacts 2020-06-20 08:10:28 -07:00
Nathan Baker 52bbd2e887 Attempt to add coverage.py to testing workflow. 2020-06-20 07:49:58 -07:00
Nathan Baker e021e491cb Merge pull request #62 from jensengroup/pytest-ci
Enable package-based CI
2020-06-20 06:01:59 -07:00
Nathan Baker 27895c2f3f Remove Python 3.5 from testing.
We already knew Python 3.5 doesn't work.
2020-06-19 09:03:15 -07:00
Nathan Baker 91f810f359 Troubleshoot GitHub Actions. 2020-06-19 09:00:26 -07:00
Nathan Baker ccfdc944c9 Merge branch 'master' into pytest-ci 2020-06-19 09:00:11 -07:00
Nathan Baker 4875d9ee65 Merge pull request #61 from Electrostatics/nathan/v3.2
Merge changes needed to release v3.2
2020-06-19 07:37:49 -07:00
Nathan Baker 11bc32e9fc Require Python 3.6+.
Fixes https://github.com/jensengroup/propka-3.1/pull/61#issuecomment-646190977
2020-06-19 07:21:05 -07:00
Nathan Baker 77286be67a Add Microsoft Windows to OS list.
Addresses https://github.com/jensengroup/propka-3.1/pull/61#discussion_r442365647
2020-06-19 06:52:06 -07:00
Nathan BakerandOliver Beckstein fb38d28f51 Add specific python versions to setup.py
Co-authored-by: Oliver Beckstein <orbeckst@gmail.com>
2020-06-19 06:46:36 -07:00
Nathan Baker 2f47d0ea9a Remove redundant PROPKA script.
Fixes https://github.com/jensengroup/propka-3.1/pull/61#discussion_r442401079
2020-06-19 06:43:33 -07:00
Nathan Baker 9cd0da8ff3 Clean up README instructions.
Remove references to setuptools and add some additional fixes.

Addresses https://github.com/jensengroup/propka-3.1/pull/61#discussion_r442357797
2020-06-19 06:39:07 -07:00
Nathan Baker 73e956f141 Add description of PROPKA versions.
Implements suggestion https://github.com/jensengroup/propka-3.1/pull/61#discussion_r442352878
2020-06-19 06:28:01 -07:00
Nathan Baker 6b9f01a7c3 Standardize version references to "PROPKA 3".
Partially addresses https://github.com/jensengroup/propka-3.1/pull/61#pullrequestreview-433445231
2020-06-19 06:24:40 -07:00
Nathan Baker c2ac407a96 Merge pull request #65 from jensengroup/read_parameter_file-KeyError
Handle KeyError in read_parameter_file
2020-06-19 05:48:09 -07:00
Nathan BakerandOliver Beckstein 18368b456a Remove setuptools discussion
Co-authored-by: Oliver Beckstein <orbeckst@gmail.com>
2020-06-18 09:53:51 -07:00
Nathan BakerandOliver Beckstein 75057fbfef Remove specific version number
Co-authored-by: Oliver Beckstein <orbeckst@gmail.com>
2020-06-18 09:53:17 -07:00
Nathan Baker 7a25ec6598 Update executable script name.
Changed script name to propka3 based on https://github.com/jensengroup/propka-3.1/pull/61#discussion_r442326049

Updated additional information in setup.py
2020-06-18 08:57:12 -07:00
Nathan Baker 1d43b46ddc Enable package-based CI
Enable continuous integration testing using pytest.
2020-06-18 08:30:02 -07:00
Nathan Baker 573b38db38 Fix stray propka31 to propka32. 2020-06-18 08:24:51 -07:00
Nathan Baker a2196cdc6f Consolidate documentation.
Addresses https://github.com/jensengroup/propka-3.1/pull/61#discussion_r442016279.
2020-06-18 08:19:22 -07:00
Nathan Baker 2909173caf Add missing *.json to package data list. 2020-06-17 15:31:16 -07:00
Nathan Baker 0c4979560d Change propka31 to propka32. 2020-06-17 15:25:50 -07:00
Nathan Baker 4e7a41730d Change module version number. 2020-06-17 15:25:23 -07:00
Nathan Baker 0e4f565c90 Remove version number from tests.
Tests aren't version-dependent.
2020-06-17 15:24:20 -07:00
Nathan Baker d52620d4e9 Update PROPKA header banner. 2020-06-17 15:24:00 -07:00
Nathan Baker 54294684b0 Remove broken links from README.md. 2020-06-17 13:22:17 -07:00
Nathan Baker 89a9eb15d4 Update INSTALL with better instructions.
Remove explicit references to version 3.1 except for name of `propka31`
script which will be changed in subsequent commit.
2020-06-17 13:17:33 -07:00
Nathan Baker e8576fb4f3 Remove specific 3.1 version information.
Except for name of script `propka31`; will handle that in another commit.
2020-06-17 13:12:09 -07:00
Nathan Baker 1d8fa2bbbe Update setup.py with 3.2.0 information. 2020-06-17 12:33:52 -07:00
Nathan Baker 616540ebd6 Merge branch 'nathan/tempfile' 2020-06-03 18:36:47 -07:00
Nathan Baker 0cb470fbdb Merge pull request #59 from Electrostatics/nathan/tempfile
Make PROPKA input file generation optional
2020-06-03 18:36:27 -07:00
Nathan Baker 9126e3059f Fix PROPKA output naming.
Addresses https://github.com/jensengroup/propka-3.1/pull/59#discussion_r434360267
2020-06-03 18:34:12 -07:00
Nathan Baker 5d8e271420 Merge branch 'nathan/import' into nathan/tempfile 2020-06-03 17:51:16 -07:00
Nathan Baker 879c48a3d8 Merge branch 'nathan/import' 2020-06-03 17:50:56 -07:00
Nathan Baker df028e445b Merge pull request #50 from Electrostatics/nathan/import
Resolve cyclic import issues
2020-06-03 17:50:30 -07:00
Nathan Baker 7085271ad5 Simplify with .writable() method.
Addresses https://github.com/jensengroup/propka-3.1/pull/50#discussion_r434349737
2020-06-03 17:49:19 -07:00
Nathan Baker 9b59d924b2 Make PROPKA input file generation optional.
Fixes https://github.com/jensengroup/propka-3.1/issues/51.
2020-05-31 10:26:56 -07:00
Nathan Baker 1d17cb05ed Remove TODO for refactoring.
Done already.
2020-05-30 13:15:45 -07:00
Nathan Baker 52554d905a Remove TODO statements for refactoring.
Already done.
2020-05-30 13:12:44 -07:00
Nathan Baker 84846aad8c Resolve cyclic import problem.
Fixes https://github.com/jensengroup/propka-3.1/issues/49

Moved I/O into higher level of of code; should make
issue https://github.com/jensengroup/propka-3.1/issues/51
easier to resolve
2020-05-30 12:01:30 -07:00
Nathan Baker b597a6f257 Remove cyclic import based on I/O in pdb.py.
Partially addresses https://github.com/jensengroup/propka-3.1/issues/49
2020-05-30 10:00:31 -07:00
Nathan Baker 397d5e10aa Remove cyclic import based on atom.py
Partially addresses https://github.com/jensengroup/propka-3.1/issues/49
2020-05-30 09:26:13 -07:00
Nathan Baker 461edda3b2 Break propka.calculations into parts.
Broken into three files to simplify import analysis:

* `calculations.py` - distance calculations and simple math
* `energy.py` - energy calculations
* `hydrogens.py` - hydrogen geometry calculations

Working towards addressing https://github.com/jensengroup/propka-3.1/issues/49
2020-05-30 08:45:39 -07:00
Nathan Baker dde0d67ea5 Merge pull request #40 from Electrostatics/nathan/delint
De-lint PROPKA
2020-05-30 08:14:45 -07:00
Nathan Baker d7147799d8 Python formatting is annoying.
I sometimes miss C -- but only with output formatting.  C++ cout marks
some decline of civilization, I think...

Addresses https://github.com/jensengroup/propka-3.1/pull/40#discussion_r432313434
2020-05-29 20:55:32 -07:00
Nathan Baker a716c89a36 Remove unused argument from Atom() constructor. 2020-05-29 20:49:47 -07:00
Nathan Baker 5010d9fa14 Merge branch 'nathan/strings' into nathan/delint 2020-05-29 20:41:53 -07:00
Nathan Baker 83a7099d79 Fix my formatting mistakes.
Python formatting makes me miss K&R C.
2020-05-29 20:37:47 -07:00
Nathan Baker b54190ef27 Fix complicated string formatting.
PEP8 be damned!  https://www.python.org/dev/peps/pep-0008/#a-foolish-consistency-is-the-hobgoblin-of-little-minds

Addresses https://github.com/jensengroup/propka-3.1/pull/40#discussion_r432302025
2020-05-29 20:08:41 -07:00
Nathan Baker 7bd12c725e Merge remote-tracking branch 'upstream/master' into nathan/strings 2020-05-29 20:06:57 -07:00
Nathan Baker 91570cbf68 Merge branch 'master' into nathan/delint 2020-05-28 20:35:27 -07:00
Nathan Baker 87347a7d60 Modernize print statements with str.format() 2020-05-28 20:31:03 -07:00
Nathan Baker ba67f5149d Replace old-style printf with str.format 2020-05-28 16:10:48 -07:00
Nathan Baker 3266521d31 Replace old formatting with new str.format() 2020-05-27 20:55:44 -07:00
Nathan Baker 6e7c188dbd Update string formatting to modern version.
Focuses only on complex formatting.
2020-05-27 16:26:52 -07:00
Nathan Baker 5916a80d56 Merge pull request #47 from Electrostatics/nathan/fix-run
Add missing option to lib.loadOptions()
2020-05-27 08:38:58 -07:00
Nathan Baker 33493cc4d2 Remove unnecessary args testing.
Addresses https://github.com/jensengroup/propka-3.1/pull/47#discussion_r431224753
2020-05-27 08:25:46 -07:00
Nathan Baker 557ab19312 Replace complex old-style format with new format strings. 2020-05-27 08:19:36 -07:00
Nathan Baker 2305615fbe Add line breaks to format strings.
Addresses https://github.com/jensengroup/propka-3.1/issues/44#issuecomment-634233970
2020-05-27 08:01:30 -07:00
Nathan Baker 959f978abb Add default argument to loadOptions().
Fixes https://github.com/jensengroup/propka-3.1/issues/46
2020-05-27 07:39:41 -07:00
Nathan Baker 46ae3d8251 Add __main__.py
Makes it easier to run (and test) PROPKA as a module.
2020-05-27 07:38:34 -07:00
Nathan Baker bcccd89ca4 Add str.format() to atom.py.
Addresses https://github.com/jensengroup/propka-3.1/issues/44
2020-05-26 16:17:50 -07:00
Nathan Baker 36bea44a4d Clean up line breaks in tests.
See https://github.com/jensengroup/propka-3.1/issues/43
2020-05-25 20:35:54 -07:00
Nathan Baker 2bb6cf6293 Clean up line breaks in version.py
See https://github.com/jensengroup/propka-3.1/issues/43
2020-05-25 20:33:34 -07:00
Nathan Baker c2f362a101 Clean up line endings for vector_algebra.py
See https://github.com/jensengroup/propka-3.1/issues/43
2020-05-25 20:30:58 -07:00
Nathan Baker d965d95fba Clean up line breaks in run.py
See https://github.com/jensengroup/propka-3.1/issues/43
2020-05-25 20:26:18 -07:00