| Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
SmilesWriter
A class for writing molecules to text files.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
__instance_size__ = 48
|
|||
|
|||
|
Inherited from |
|||
|
|||
NumMols( (SmilesWriter)arg1) -> int :
Returns the number of molecules written so far.
C++ signature :
unsigned int NumMols(RDKit::SmilesWriter {lvalue})
|
SetProps( (SmilesWriter)arg1, (AtomPairsParameters)arg2) -> None :
Sets the properties to be written to the output file
ARGUMENTS:
- props: a list or tuple of property names
C++ signature :
void SetProps(RDKit::SmilesWriter {lvalue},boost::python::api::object)
|
__init__( (object)arg1, (str)fileName [, (str)delimiter=' ' [, (str)nameHeader='Name' [, (bool)includeHeader=True [, (bool)isomericSmiles=False [, (bool)kekuleSmiles=False]]]]]) -> None :
Constructor.
ARGUMENTS:
- fileName: name of the output file.
- delimiter: (optional) delimiter to be used to separate entries on each line.
- nameHeader: (optional) text to use for the name column in the header line.
If this is blank, names will not be dumped.
- includeHeader: (optional) toggles inclusion of a header line in the output file.
- isomericSmiles: (optional) toggles output of isomeric smiles (includes stereochem information).
- includeHeader: (optional) toggles output of kekule smiles (no aromatic bonds for molecules that have been kekulized).
C++ signature :
void __init__(_object*,std::string [,std::string=' ' [,std::string='Name' [,bool=True [,bool=False [,bool=False]]]]])
|
helper for pickle
|
flush( (SmilesWriter)arg1) -> None :
Flushes the output file (forces the disk file to be updated).
C++ signature :
void flush(RDKit::SmilesWriter {lvalue})
|
write( (SmilesWriter)self, (Mol)mol [, (int)confId=-1]) -> None :
Writes a molecule to the output file.
ARGUMENTS:
- mol: the Mol to be written
- confId: (optional) ignored
C++ signature :
void write(RDKit::SmilesWriter {lvalue},RDKit::ROMol {lvalue} [,int=-1])
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Tue Oct 7 06:26:50 2008 | http://epydoc.sourceforge.net |