Releases: datamol-io/datamol
Releases · datamol-io/datamol
0.6.9
Added:
- Support for selfies<2.0.0 in tests
Changed:
- Behaviour of all inchi functions to return None with a warning instead of silently returning an empty string
- Order of str evaluation on convertion function.
isinstance(str)
is now evaluated beforeis None
Fixed:
- Bug in unique_id making this evaluation falling back on 'd41d8cd98f00b204e9800998ecf8427e' on unsupported inputs. Instead None is returned now
Authors:
- Emmanuel Noutahi
0.6.8
0.6.7
Added:
- Add
dm.descriptors.n_aromatic_atoms
- Add
dm.descriptors.n_aromatic_atoms_proportion
- Add
dm.predictors.esol
- Add
dm.predictors.esol_from_data
Changed:
- Make
descriptors
a folder (backward compatible). - Rename
any_descriptor
toany_rdkit_descriptor
to be more explicit.
Authors:
- Hadrien Mary
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
Added:
- Add
dm.to_inchi_non_standard()
anddm.to_inchikey_non_standard()
in order to generate InChi values that are sensitive to tautomerism as well as undefined stereoisomery. - Add
dm.unique_id
to generate unique molecule identifiers based ondm.to_inchikey_non_standard
Changed:
- Add
use_non_standard_inchikey
flag argument todm.same_mol
.
Authors:
- Hadrien Mary
0.6.0
Added:
- Add
dm.utils.fs.copy_dir()
to recursively copy directories across filesystems + tests. - Add
dm.utils.fs.mkdir
+ tests. - Add a new
dm.descriptors
module withcompute_many_descriptors
andbatch_compute_many_descriptors
+ tests. - Add
dm.viz.match_substructure
to highlight one or more substructures in a list of molecules + tests. Note that the current function does not show different colors per match and submatch because of a limitation inMolsToGridImage
. We plan to address this in a future version of datamol. - Add a new
mcs
module backed byrdkit.Chem.rdFMCS
withfind_mcs
function + tests. - Add a new function
dm.viz.utils.align_2d_coordinates
to align 2d coordinates of molecules using either a given pattern or MCS. - Add
dm.canonical_tautomer
to canonicalize tautomers. - Add
dm.remove_stereochemistry()
. - Add a
bond_line_width
arg toto_image
. - Add
dm.atom_list_to_bond()
- Add
enable
flag todm.without_rdkit_log()
- Add a tutorial about the filesystem module.
- Add a tutorial about the viz module (still incomplete).
- Add
dm.substructure_matching_bonds
to perform a standard substructure match but also return the matching bonds instead of only the matching atoms. - Add new
dm.isomers
module + move relevant functions fromdm.mol
todm.isomers
- Add
dm.add_hs
anddm.remove
to add and remove hydrogens from molecules.
Changed:
- Set
fsspec
minimum version to>=2021.9
. - Pimp up
dm.utils.to_image
to make it more robust (don't fail on certain molecules due to incorrect aromaticity) and also propagate more drawing options to RDKit such aslegend_fontsize
and others. - Add a new
align
argument indm.to_image()
to align the 2d coordinates of the molecules. - In
dm.to_image
,use_svg
is now set toTrue
by default. - Change the default
mol_size
from 200 to 300 into_image
. - Link
datamol.utils.fs
todatamol.fs
. - Change default
chunk_size
incopy_file
from 2048 to 1024 * 1024 (1MB). - Support parallel chunked distances computation in
dm.similarity.cdist
Authors:
- Hadrien Mary