maplist

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

maplist

Andy D P
Hi,
I am using OBSmartsPattern to find a few different ring systems but am running into difficulties in getting the matching patterns out with GetMapList. 
From sp.Match(testmol) I get "true" so it's found something.  Then I think I need GetMapList to get the results out.  I cannot understand the documentation with this (below) - does anyone have a python implementation of this as an example?
thanks,
Andy
 
 
 
std::vector<std::vector<int> >& GetMapList (  )  [inline]


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
OpenBabel-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
Reply | Threaded
Open this post in threaded view
|

Re: maplist

Noel O'Boyle
Administrator
2009/11/8 macc_200 <[hidden email]>
Hi,
I am using OBSmartsPattern to find a few different ring systems but am running into difficulties in getting the matching patterns out with GetMapList. 
From sp.Match(testmol) I get "true" so it's found something.  Then I think I need GetMapList to get the results out.  I cannot understand the documentation with this (below) - does anyone have a python implementation of this as an example?
thanks,
Andy
 
 
 
std::vector<std::vector<int> >& GetMapList (  )  [inline]


See pybel.Smarts.
 
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
OpenBabel-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
OpenBabel-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss