[Rdkit-devel] [PATCH 10/17] More details to MolToImage docstring
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: Gianluca S. <gi...@gm...> - 2011-03-19 09:44:40
|
---
rdkit/Chem/Draw/__init__.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/rdkit/Chem/Draw/__init__.py b/rdkit/Chem/Draw/__init__.py
index 0d32957..cc2fe24 100644
--- a/rdkit/Chem/Draw/__init__.py
+++ b/rdkit/Chem/Draw/__init__.py
@@ -7,6 +7,12 @@ import os.path
def MolToImage(mol,size=(300,300),kekulize=True, wedgeBonds=True,**kwargs):
""" returns a PIL image containing a drawing of the molecule
+
+ Keyword arguments:
+ kekulize -- run kekulization routine on input `mol`
+ size -- final image size, in pixel (default (300,300))
+ wedgeBonds -- draw wedge (stereo) bonds (default True)
+ highlightAtoms -- list of atoms to highlight (default [])
"""
if not mol:
raise ValueError,'Null molecule provided'
--
1.7.4
|