예제 #1
0
 def testSearchRnaQuantificationSets(self):
     request = protocol.SearchRnaQuantificationSetsRequest()
     request.dataset_id = self.datasetId
     request.page_size = self.pageSize
     self.httpClient.search_rna_quantification_sets(self.datasetId)
     self.httpClient._run_search_request.assert_called_once_with(
         request, "rnaquantificationsets",
         protocol.SearchRnaQuantificationSetsResponse)
예제 #2
0
파일: client.py 프로젝트: Philip-Wu/server
 def search_rna_quantification_sets(self, dataset_id):
     """
     Returns an iterator over the RnaQuantificationSet objects from the
     server
     """
     request = protocol.SearchRnaQuantificationSetsRequest()
     request.dataset_id = dataset_id
     request.page_size = pb.int(self._page_size)
     return self._run_search_request(
         request, "rnaquantificationsets",
         protocol.SearchRnaQuantificationSetsResponse)
예제 #3
0
 def sendRnaQuantificationSetsSearch(self):
     request = protocol.SearchRnaQuantificationSetsRequest()
     request.dataset_id = self.datasetId
     return self.sendPostRequest('/rnaquantificationsets/search', request)