Révision 3a46e515
b/modules/isolated.py | ||
---|---|---|
9 | 9 |
new mol object and the energies of its conformers. |
10 | 10 |
run_isolated: directs the execution of functions to achieve the goal |
11 | 11 |
""" |
12 |
import os |
|
13 | 12 |
import logging |
14 | 13 |
|
15 | 14 |
import numpy as np |
... | ... | |
42 | 41 |
return mol |
43 | 42 |
|
44 | 43 |
|
45 |
def gen_confs(mol: Chem.rdchem.Mol, num_confs: int, local_min=True):
|
|
44 |
def gen_confs(mol: Chem.rdchem.Mol, num_confs: int): |
|
46 | 45 |
"""Generate conformers in random orientations. |
47 | 46 |
|
48 | 47 |
@param mol: rdkit mol object of the molecule to be adsorbed. |
49 | 48 |
@param num_confs: number of conformers to randomly generate. |
50 |
@param local_min: bool: if generated conformers should be a local minimum. |
|
51 | 49 |
@return: mol: rdkit mol object containing the different conformers. |
52 | 50 |
rmsd_mtx: Matrix with the rmsd values of conformers. |
53 | 51 |
|
Formats disponibles : Unified diff