Selfies

Latest version: v2.2.0

Safety actively analyzes 724004 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.2.1

Added:
* Decoder: added optional argument to restrict nitrogen to 3 bonds.
``decoder(...,N_restrict=False)`` to allow for more bonds;
standard: ``N_restrict=True``.
* Decoder: added optional argument make ring-function bi-local
(i.e. confirms bond number at target).
``decoder(...,bilocal_ring_function=False)`` to not allow bi-local ring
function; standard: ``bilocal_ring_function=True``. The bi-local ring
function will allow validity of >99.99% of random molecules.
* Decoder: made double-bond ring RDKit syntax conform.
* Decoder: added state X5 and X6 for having five and six bonds free.

Bug Fixes:
* Decoder + Encoder: allowing for explicit brackets for organic atoms, for
instance ``[I]``.
* Encoder: explicit single/double bond for non-canonical SMILES input
issue fixed.
* Decoder: bug fix for ``[Branch*]`` in state X1.

We thank Benjamin Sanchez-Lengeling, Theophile Gaudin and Zhenpeng Yao
for suggestions and bug reports.

---

0.1.1

* initial release

Page 3 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.