pymzml/pymzML — pull request #8 by mberth (2012-08-19 13:37:14+00:00)
Title: fix for issue #7, Cannot store spectra in a list

The problem was that the same self.spectrum object was reused over and over when new spectra are read. The fix is to have __getitem__ and __next__ return fresh Spectrum objects.

Added unit tests for this, run them with nosetests test/