Closed IAlibay closed 3 years ago
Also more of a general question for #98, it isn't clear to me why one would opt for a propka input over a PDB. Is it just a case that it allows you to specify groups without having to rely on propka's guessers?
I'm not sure why that functionality exists... I'd be in favor of removing that feature rather than fixing it. What do others think? @speleo3 @orbeckst
I don't know why the feature exists. I never used it (but I might be missing something here).
Reducing maintenance burden is a good thing so unless some incredibly good reasons for keeping this feature show up, I'd be in favor of removing it.
I've never used this feature. No objections for removing it.
I can probably deal with this whilst I'm gathering info for #98 (unless someone else is already working on this).
I've not seen any deprecation warnings in 3.1-3.3, is it ok to just go for a purge of the propka input reading/writing code paths without warning?
Issue details
As part of #98 I am testing the i/o for propka and I noticed that passing
propka_input
files generated by propka3 can no longer be read. Passing such an input will fail with the following trace:Reading these files works in 3.1, so this bug got introduced at some point in 3.2-3.3.
Code to reproduce this behaviour
Suspected cause
It seems like this bug might have been in part introduced in #40. However, simply changing:
https://github.com/jensengroup/propka/blob/9dfd87a0ebfd4e9e1a12149e9d8e7a621a446fc9/propka/atom.py#L325
to
won't work due to the large re-organisation of
atom.py
in #49 (one outcome of which is thatgroup_label
now defaults toNone
).