1.1.1.1.2.3. molpher.core.morphing package

1.1.1.1.2.3.1. Subpackages

1.1.1.1.2.3.2. Submodules

1.1.1.1.2.3.3. molpher.core.morphing.AtomLibrary module

class molpher.core.morphing.AtomLibrary.AtomLibrary(atoms, atom_probabilities=())[source]

Bases: molpher.swig_wrappers.core.AtomLibrary

Parameters

atoms (an iterable of AtomLibrary instances, another AtomLibrary instance or simply a list of atom symbols.) – A set of atoms that defines the library.

property atom_probabilities
property atoms
getAtoms()[source]
static getDefaultLibrary()[source]
getRandomAtom()[source]

1.1.1.1.2.3.4. molpher.core.morphing.Molpher module

class molpher.core.morphing.Molpher.Molpher(molecule, operators, threads=0, attempts=30, max_iters=None, collectors=())[source]

Bases: molpher.swig_wrappers.core.Molpher

Parameters

molecule (an instance of MolpherMol or its derived class.) – The starting molecule.

getMorphs()[source]
property morphs
next()[source]

1.1.1.1.2.3.5. molpher.core.morphing.MorphCollector module

class molpher.core.morphing.MorphCollector.MorphCollector(function_to_call)[source]

Bases: molpher.swig_wrappers.core.MorphCollector

1.1.1.1.2.3.6. Module contents