示例#1
0
 def testSearchRnaQuantifications(self):
     request = protocol.SearchRnaQuantificationsRequest()
     request.rna_quantification_set_id = self.rnaQuantificationSetId
     request.page_size = self.pageSize
     self.httpClient.search_rna_quantifications(
         rna_quantification_set_id=self.rnaQuantificationSetId)
     self.httpClient._run_search_request.assert_called_once_with(
         request, "rnaquantifications",
         protocol.SearchRnaQuantificationsResponse)
示例#2
0
    def search_rna_quantifications(self, rna_quantification_set_id=""):
        """
        Returns an iterator over the RnaQuantification objects from the server

        :param str rna_quantification_set_id: The ID of the
            :class:`ga4gh.protocol.RnaQuantificationSet` of interest.
        """
        request = protocol.SearchRnaQuantificationsRequest()
        request.rna_quantification_set_id = rna_quantification_set_id
        request.page_size = pb.int(self._page_size)
        return self._run_search_request(
            request, "rnaquantifications",
            protocol.SearchRnaQuantificationsResponse)
示例#3
0
 def sendRnaQuantificationsSearch(self):
     request = protocol.SearchRnaQuantificationsRequest()
     request.rna_quantification_set_id = self.rnaQuantificationSetId
     return self.sendPostRequest('/rnaquantifications/search', request)