Computer-Aided Drug Design at the Durrant Lab › Forums › Dimorphite-DL › Syntax error dimorphite_dl.py, line #744
- This topic is empty.
- AuthorPosts
- March 3, 2021 at 9:37 pm #26390
Norwid Behrnd
GuestDear Professor Durrant,
Dear maintainer of Dimorphite-DL,I would like to suggest substitution of a line in script dimorphite_dl.py, line #744. Currently (2021-03-03), the file states
if line is not "":
which causes, running the script in Linux Debian 11 / bullseye (branch testing) with Python 3.9.1 the brief note
SyntaxWarning: "is not" with a literal. Did you mean "!="?
if line is not "":The warning may be muted if the line in question reads
if line is not None:
instead. Replying to an issue about OpenBabel on GitHub
https://github.com/openbabel/openbabel/issues/2330
your program was one of the first programs seen a couple of moments ago, possibly complementary to the one your colleague, Geoff Hutchison , curates.
With best regards,
Norwid Behrnd
- AuthorPosts
- The forum ‘Dimorphite-DL’ is closed to new topics and replies.