Example #1
0
 def test_gagflagged(self):
     gp = GenePart()
     self.assertFalse(gp.gagflagged())
     gp.add_annotation("gag_flag", "awesome flag")
     self.assertTrue(gp.gagflagged())
Example #2
0
 def test_gagflagged(self):
     gp = GenePart()
     self.assertFalse(gp.gagflagged())
     gp.add_annotation("gag_flag", "awesome flag")
     self.assertTrue(gp.gagflagged())
Example #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)
Example #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)