mdonatello.properties.MolecularWeight
- class mdonatello.properties.MolecularWeight(mol: Mol)[source]
A class for calculating the molecular weight of a molecule.
Parameters:
- molChem.Mol
The RDKit Mol object of the molecule for which the molecular weight is being calculated.
Returns:
- float
The molecular weight of the molecule.
- __init__(mol: Mol)
Initializes the Property class with a molecule.
Parameters:
- molChem.Mol
The RDKit Mol object of the molecule.
Methods
__init__(mol)Initializes the Property class with a molecule.
Attributes
nameproperty_valueCalculates the molecular weight of the molecule.
values_format