SDF to SMARTS
Added the function sdf_to_smarts
, which behaves just like sdf_to_smiles
but it converts an SDF file to SMARTS instead of SMILES. This required refactoring the code by creating a new convert_sdf
function that is called by both sdf_to_smiles
and sdf_to_smarts
with different parameters.
setup.py to pyproject.toml
Refactored the code base to replace the setup.py
(using setuptools) with pyproject.toml
(using hatchling).