Remove this null check, need to look at what the pharmacophore matcher is doing (well I know why it happens - it's the angle matcher) but the better fix might just be to not include that bond in the query bonds.
// corner case from the pcore matcher
if (nbr == null)
continue;
Remove this null check, need to look at what the pharmacophore matcher is doing (well I know why it happens - it's the angle matcher) but the better fix might just be to not include that bond in the query bonds.