Re: [Open Babel] .NET: FP2 maplist is zero-based?

2018-07-05 Thread Noel O'Boyle
My guess is 0. But why not try it? You'll soon work it out, by changing the position of 's' in the input SMILES, and looking at the contents of vlist. On 5 July 2018 at 09:43, Leif Peterson wrote: > I was able to complete the .NET coding for a SMARTS pattern search within > an input SMILES, and

[Open Babel] .NET: FP2 maplist is zero-based?

2018-07-05 Thread Leif Peterson
I was able to complete the .NET coding for a SMARTS pattern search within an input SMILES, and am wondering if the loop to check for SMARTS hits (below) in each vector element of maplist should start at 0 or 1?  As an example, when using Thiophene's SMILES Cc1ccsc1 and the SMARTS pattern [sx2r5