molprop.utils.utils.get_mol_w

molprop.utils.utils.get_mol_w(smiles)

Calculate the molecular weight of a compound based on its SMILES representation.

Parameters:

smiles (str) – The SMILES representation of the compound.

Returns:

The molecular weight of the compound.

Return type:

float