elaird/supy — pull request #147 by davidegerbaudo (2012-09-21 17:21:07+00:00)
Title: Debug nentries

Hi Burt and Ted,

I see that, when I don't specify the number of entries and run in batch, my jobs don't run on any event.
This seems to be due to wrappedChain.entries, for which I see at the first event

entries(nEntries=-1 ) = -1
nEntries : -1, self.entry: 0

so the condition at L68 is satisfied and it exits from the loop.
I believe that this is a bug, and that it can be fixed with the additional "-1<".
Please let me know if this sounds reasonable.

Thanks,

davide

P.S. I don't know why I did not see the problem when the branch below was merged...maybe I tested the branch with a specific n of events...
https://github.com/elaird/supy/pull/112