stk.MolWriter
- class stk.MolWriter[source]
Bases:
objectA writer class for V3000
.molfiles.Examples
Writing to a File
import stk bb1 = stk.BuildingBlock('BrCCBr', [stk.BromoFactory()]) writer = stk.MolWriter() writer.write(molecule=bb1, path='bb1.mol')
Methods
Get a V3000
.molfile format string of molecule.Write molecule to V3000
.molfile format.