def _checkMetadata(self, variantFile):
        """
        Checks that metadata is consistent
        """
        metadata = self._getMetadataFromVcf(variantFile)
        if self._metadata is not None and self._metadata != metadata:
            raise exceptions.InconsistentMetaDataException(
                variantFile.filename)
def _checkMetadata ( self , variantFile ) : metadata = self . _getMetadataFromVcf ( variantFile ) if self . _metadata is not None and self . _metadata != metadata : raise exceptions . InconsistentMetaDataException ( variantFile . filename )
Checks that metadata is consistent