Hi,

On Wed, Aug 8, 2012 at 10:32 AM, Noel O'Boyle <baoille...@gmail.com> wrote:
> On 6 August 2012 19:14, Tim Vandermeersch <tim.vandermeer...@gmail.com> wrote:
>> Hi,
>>
>> On Mon, Aug 6, 2012 at 12:24 PM, Noel O'Boyle <baoille...@gmail.com> wrote:
>>> Even more unforunately, it's not possible to access most of the stereo
>>> functionality from anything but C++. This is due to the use of nested
>>> classes for the stereo config, which we realised after-the-fact is not
>>> supported by SWIG. I've tried workarounds but I'm running short of
>>> ideas.
>>>
>>> Geoff's idea to build the structure based on SMILES seems like a good
>>> way to go for the moment.
>>
>> Since this issue has come up several times I've added support for
>> this. See commit r4973 & r4974. An example test script can be found
>> here http://moldb.net/timvdm/openbabel/obstereo.py
>>
>> Tim
>
> That's great. But as far as I can see, this isn't specific to Python.
> Perhaps you could rename python.h to bindings.h or so?

I've renamed python.h to bindings.h and moved the SWIG code to
stereo.i This can be included in other openbabel-xxx.i files. I
already did this for openbabel-java.i.

Tim

> - Noel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to