Update molecular-2d.py. Since from_smiles got depreciated, example is updated...
Merge request template
Please make sure to read our contributing guide.
Related issues
Update molecular-2d.py. Since from_smiles got depreciated, example is updated to use from_rdkit.
Summary of changes
Please itemize the changes introduced in this merge request.
- This function requires a remit mol object as input, so we need to convert the SMILES to such an object before handing it to from_rdkit
- In addition, from_rdkit generates "atomic_number" property instead of "element", this was updated too.