Dear Kirk,
you may open the existing file in 'append' mode with open() and pass the
file object to the SDWriter instead of the filename, e.g.:
sdfFile = open('molecule.sdf', 'a')
w = Chem.SDWriter(sdfFile)
w.write(yourMol)
Cheers,
Paolo
On 10/19/2013 04:40 PM, Robert DeLisle wrote:
I would
I would like to have the option to append to the end of an existing SD
file. Is there an option for that with the SDWriter?
-Kirk
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate appli
2 matches
Mail list logo