Skip to content

Releases: ecrl/padelpy

Better subprocess handling

28 Jun 20:56
99eabb5
Compare
Choose a tag to compare
  • PaDEL's native timeout functionality causes some compounds to "hang" during calculation
    • for higher-level functions, from_smiles and from_mdl, supplied timeout now controls subprocess.Popen's timeout instead of PaDEL's

This change reduces the chance of a compound to fail during calculation.

Bug fix

10 Jun 20:17
ccb694f
Compare
Choose a tag to compare
  • Upon a successful conversion in "from_smiles" and "from_mdl", attempt loop is exited

Bug Fix for Unix Systems

09 Jun 23:05
7b9d8fb
Compare
Choose a tag to compare
  • subprocess.Popen call required a list of arguments instead of a string on Unix-based systems, therefore the command was .split() to form a list

Function timeouts, process attempts

08 Jun 15:49
da3aa5e
Compare
Choose a tag to compare
  • "from_smiles" and "from_mdl" now accept an optional timeout argument
  • "from_smiles" and "from_mdl" will now attempt conversion three times before throwing an exception
    • this should reduce indeterminate failures caused by PaDEL-Descriptor
  • exceptions thrown by PaDEL-Descriptor are now decoded to UTF-8

Cleanup when RuntimeError encountered

07 Jun 17:04
Compare
Choose a tag to compare
  • If a RuntimeError is encountered, temporary files (.smi, CSV if not saving) are removed

Max Run-time per Molecule for "from_smiles", "from_mdl"

07 Jun 16:42
Compare
Choose a tag to compare
  • Added maximum run-time per molecule for "from_smiles" and "from_mdl" functions
    • set to 10 seconds per molecule
    • does not affect default wrapper maximum run-time, just these functions

Initial Release

07 Jun 03:24
Compare
Choose a tag to compare
  • Initial upload of source code and documentation