code: def parseSpectra(self):
          
          #Note: the spectra need to be iterated completely to save the
          #metadataNode
          if self._parsed:
              raise TypeError('Mzml file already parsed.')
          self._parsed = True
          return self._parseMzml()
docs: #TODO: docstring
  
          :returns: #TODO: docstring