def getVariantAnnotationSets(self, datasetId):
        """
        Returns the list of ReferenceSets for this server.
        """
        # TODO this should be displayed per-variant set, not per dataset.
        variantAnnotationSets = []
        dataset = app.backend.getDataRepository().getDataset(datasetId)
        for variantSet in dataset.getVariantSets():
            variantAnnotationSets.extend(
                variantSet.getVariantAnnotationSets())
        return variantAnnotationSets
def getVariantAnnotationSets ( self , datasetId ) : variantAnnotationSets = [ ] dataset = app . backend . getDataRepository ( ) . getDataset ( datasetId ) for variantSet in dataset . getVariantSets ( ) : variantAnnotationSets . extend ( variantSet . getVariantAnnotationSets ( ) ) return variantAnnotationSets
Returns the list of ReferenceSets for this server.