Closed openbabel-bot closed 7 years ago
Logged In: NO
Chris - could you take a look at this when you have a chance. I'd like to rerelease Pybel once this is fixed...not being able to write SMI fouls up a lot of the basic functionality...
Original comment by: nobody
Logged In: YES user_id=1189615 Originator: NO
Are you using the release code? There was a SMILES bug in SVN code shortly before release, but it all works fine for me now.
I used SVN head code to build the PythonOBF project, copied openbabel.py _openbabel.pyd pybel.py and head.sdf into the folder with OpenBabel 2.2.0 from OpenBabel2.2.0_Windows_Installer2.exe , set PYTHONPATH there - and your example works ok.
Chris
Original comment by: @chrismorl
Logged In: NO
Thanks for looking into this. Sorry if it's been a red herring.
It's possible that I could be getting a bit mixed up as the cinfony Pybel and the openbabel Pybel are a bit out of synch (the cinfony one is a week older than the release). I will download and test the released openbabel Pybel.
Original comment by: nobody
Logged In: YES user_id=850620 Originator: YES
Sorry about that Chris. It works for me after reinstalling from the released Pybel.
Original comment by: @baoilleach
If I read the first entry in head.sdf (including in OB distribution), and write it out as SMI, I get a segfault, but only on Windows. I can read a SMI string, and write it out as SMI, no problem. This wasn't a problem in OB2.1.
Reported by: @baoilleach