Closed cthoyt closed 3 years ago
@cthoyt Could you share on how to use it from python?
@pythonnewbie3
Clone the Repository to your local storage and then, inside python
import src.decimer.DECIMER as decimer
model_name = “Isomeric"
img_path = “caffeine.png”
caffeine_smiles = decimer.predict_SMILES(img_path,model_name)
print(caffeine_smiles)
Hope this helps for now.
Currently, the package gives a command line tool. There should also be an example in the README on how to import the code from inside your own python script and use it (this will make more sense after #2)