Open Chemistry JupyterLab ChemML calculations


In [ ]:
import openchemistry as oc

Start by finding structures using online databases (or cached local results). This uses an InChI for a known structure that will be added if not already present using Open Babel.


In [ ]:
mol = oc.find_structure('InChI=1S/C6H6/c1-2-4-6-5-3-1/h1-6H')
mol.structure.show()

Set up the calculation, by specifying the name of the Docker image that will be used, and by providing input parameters that are known to the specific image


In [ ]:
image_name = 'openchemistry/chemml:0.6.0'
input_parameters = {}

Predict Properties from ML Model


In [ ]:
result = mol.calculate(image_name, input_parameters)

In [ ]:
result.properties.show()