Releases: datamol-io/datamol
Releases · datamol-io/datamol
0.4.2
Added:
- More tests for the
dm.similarity
modules + check against RDKit equivalent methods. dm.same_mol(mol1, mol2)
to check whether 2 molecules are the same based on their InChiKey.
Changed:
- use
scipy
indm.similarity.pdist()
. - Raise an error when a molecule is invalid in
dm.similarity.pdist/cdist
.
Deprecated:
dm.similarity.pdist()
nows returns only the dist matrix without thevalid_idx
vector.
Fixed:
- A bug returning an inconsistent dist matrix with
dm.similarity.pdist()
.
Authors:
- Hadrien Mary
0.4.1
0.4.0
0.3.9
Added:
- Add a sanitize flag to
from_df
. - Automatically detect the mol column in
from_df
. - Add
add_hs
arg tosanitize_mol
.
Changed:
- Allow input a single molecule to
dm.to_sdf
instead of a list of mol. - Preserve mol properties and the frist conformer in
dm.sanitize_mol
. - Display a warning message when input mol has multiple conformers in
dm.sanitize_mol
.
Fixed:
- Remove call to
sanitize_mol
inread_sdf
, instead usesanitize=True
from RDKit. - Remove the
mol
column from the mol properties infrom_df
. It also fixesto_sdf
.
Authors:
- Hadrien Mary