Hi Kenny,
a few ideas for dissecting this problem:

- you should close() the Mapping before creating another Mapping with  
the same file name.  As a general rule, you should always close() a  
Mapping object after you're done with it.  I doubt this is relevant to  
the iterator problem, though.

- could you also count the events outside the if event.clusterid  
conditional?  we should make sure that the problem isn't due to this  
conditional somehow filtering out results that the iterator is  
returning.

- I think we should remove worldbase from the equation.  I.e. can you  
post a script that shows the construction of the events AnnotationDB  
followed immediately by counting the results of iteration from its  
itervalues() vs. values(), and also counting the results of iteration  
from its sliceDB.iteritems() vs. sliceDB.items()?  Also send us the  
results you get with this new script. This would serve two purposes;  
first, showing us the code that builds the AnnotationDB, and second  
excluding worldbase from the problem.

-- Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pygr-dev" group.
To post to this group, send email to pygr-dev@googlegroups.com
To unsubscribe from this group, send email to 
pygr-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pygr-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to