Exemplo n.º 1
0
 def index_pangenome_test(self, mock_wsa):
     iu = MiscIndexer(self.cfg)
     iu.ws.get_objects2.return_value = self.pangenome
     res = iu.pangenome_index(self.upa)
     self.assertIsNotNone(res)
     self.assertIn('data', res)
     res = iu.pangenomeorthologyfamily_index(self.upa)
     self.assertIsNotNone(res)
     self.assertIn('features', res)
Exemplo n.º 2
0
 def index_assembly_test(self, mock_wsa):
     iu = MiscIndexer(self.cfg)
     iu.ws.get_objects2.return_value = self.assemblyobj
     res = iu.assembly_index(self.upa)
     self.assertIsNotNone(res)
     self.assertIn('data', res)
     res = iu.assemblycontig_index(self.upa)
     self.assertIsNotNone(res)
     self.assertIn('features', res)
Exemplo n.º 3
0
 def index_pairedend_test(self, mock_wsa):
     iu = MiscIndexer(self.cfg)
     iu.ws.get_objects2.return_value = self.pairedend
     res = iu.pairedend_index(self.upa)
     self.assertIsNotNone(res)
     self.assertIn('data', res)
Exemplo n.º 4
0
 def index_ontologyterm_test(self, mock_wsa):
     iu = MiscIndexer(self.cfg)
     iu.ws.get_objects2.return_value = self.ontology
     res = iu.ontologyterm_index(self.upa)
     self.assertIsNotNone(res)
     self.assertIn('features', res)
Exemplo n.º 5
0
 def index_narrative_test(self, mock_wsa):
     iu = MiscIndexer(self.cfg)
     iu.ws.get_objects2.return_value = self.narobj
     res = iu.narrative_index(self.upa)
     self.assertIsNotNone(res)
     self.assertIn('data', res)
Exemplo n.º 6
0
 def index_rnaseq_test(self, mock_wsa):
     iu = MiscIndexer(self.cfg)
     iu.ws.get_objects2.return_value = self.rnaseqsampleset
     res = iu.rnaseqsampleset_index(self.upa)
     self.assertIsNotNone(res)
     self.assertIn('data', res)