Skip to content

Instantly share code, notes, and snippets.

@ericdill
Created September 26, 2014 15:37
Show Gist options
  • Save ericdill/16f3520717ebdddea7ee to your computer and use it in GitHub Desktop.
Save ericdill/16f3520717ebdddea7ee to your computer and use it in GitHub Desktop.
C:\dev\my_src\python\metadataStore [master]> python .\example\sample_code_raw.py
Header insert time is 5.00011444092 ms
Descriptor insert time is 3.99994850159 ms
Event insert time is 11.9998455048 ms
Traceback (most recent call last):
File ".\example\sample_code_raw.py", line 32, in <module>
print db.header.find({'tags': {'$in': ['CSX_Experiment1']}})[0]
File "C:\Users\edill\AppData\Local\Continuum\Anaconda\lib\site-packages\pymong
o\cursor.py", line 597, in __getitem__
raise IndexError("no such item for Cursor instance")
IndexError: no such item for Cursor instance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment