예제 #1
0
 def test_load_data(self):
     for exons, transcript_id in get_exon_node(test_file):
         pass
     self.assertTrue(len(exons) > 1)
예제 #2
0
 def test_build_exon_graph(self):
     for exons, transcript_id in get_exon_node(test_file):
         self.graph = nx.DiGraph()
         self.graph.add_path([str(e) for e in exons])
         self.assertEqual(len(exons), len(self.graph.nodes()))