def parseSpectra(self):
        """ #TODO: docstring

        :returns: #TODO: docstring
        """
        #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()
def parseSpectra ( self ) : if self . _parsed : raise TypeError ( 'Mzml file already parsed.' ) self . _parsed = True return self . _parseMzml ( )
#TODO: docstring

        :returns: #TODO: docstring