| Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
SmilesWriter
A class for writing molecules to text files.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
__instance_size__ = 44
|
|||
|
|||
|
Inherited from |
|||
|
|||
Returns the number of molecules written so far.
C++ signature:
NumMols(RDKit::SmilesWriter {lvalue}) -> unsigned int
|
Sets the properties to be written to the output file
ARGUMENTS:
- props: a list or tuple of property names
C++ signature:
SetProps(RDKit::SmilesWriter {lvalue}, boost::python::api::object) -> void*
|
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.
- includeHeader: (optional) toggles inclusion of a header line in the output file.
C++ signature:
__init__(_object*, std::string fileName, std::string delimiter=' ', std::string nameHeader='Name', bool includeHeader=True) -> void*
|
Flushes the output file (forces the disk file to be updated).
C++ signature:
flush(RDKit::SmilesWriter {lvalue}) -> void*
|
Writes a molecule to the output file.
ARGUMENTS:
- mol: the Mol to be written
- confId: (optional) ignored
C++ signature:
write(RDKit::SmilesWriter {lvalue} self, RDKit::ROMol {lvalue} mol, int confId=-1) -> void*
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat May 24 08:37:06 2008 | http://epydoc.sourceforge.net |