rmcgibbo/mdtraj — pull request #253 by rmcgibbo (2014-01-05 04:32:26+00:00)
Title: Add __len__ to each of the file objects

I implemented this for all of them except mdcrd and arc. For xtc and trr, it's probably not that fast since you need to step through the whole trajectory, but at least that stepping is done in c.

cc #252