Hello,
  I would like to add some comment strings to .pdb or .mol2 files that I
generated using the python openbabel module.

I can write the molecule easily enough with  appropriately initialized
OBMol and OBConversion objects  and the .WriteFile() method

But I would like to add comments, e.g. REMARK lines in the .pdb file

Currently, I'm using openbabel to generate the basic molecule file, then
re-reading it the file and inserting the comments using text insertion
capabilities of python.

Was hoping there was a cleaner option.
Searching for "write comments" on this archive didn't find any hits...

Cheers,
--Jim
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to