makeMoleculeFromDb(molec_id,
molecule,
path_gastronoom=' codeSep2010 ' ,
mline_db=None)
| source code
|
Make a Molecule() from a database, based on model_id and molec_id.
Returns None if the molecule is not available in the database.
- Parameters:
molec_id (string) - the model_id of the molecule
molecule (string) - the short hand name of the molecule
path_gastronoom (string) - the output path in the ~/GASTRoNOoM/. directory
(default: codeSep2010)
mline_db (Database()) - The mline database, which can be passed in case one wants to
reduce overhead. Not required though.
(default: None)
- Returns: Molecule()
- the molecule with all its information embedded
|