Exemplo n.º 1
0
 def test_gagflagged(self):
     gp = GenePart()
     self.assertFalse(gp.gagflagged())
     gp.add_annotation("gag_flag", "awesome flag")
     self.assertTrue(gp.gagflagged())
Exemplo n.º 2
0
 def test_gagflagged(self):
     gp = GenePart()
     self.assertFalse(gp.gagflagged())
     gp.add_annotation("gag_flag", "awesome flag")
     self.assertTrue(gp.gagflagged())
Exemplo n.º 3
0
 def test_add_annotation(self):
     gp = GenePart()
     self.assertFalse(gp.annotations)
     gp.add_annotation("gag_flag", "this gene part rulz")
     self.assertTrue(gp.annotations)
Exemplo n.º 4
0
 def test_add_annotation(self):
     gp = GenePart()
     self.assertFalse(gp.annotations)
     gp.add_annotation("gag_flag", "this gene part rulz")
     self.assertTrue(gp.annotations)