def testGeneEntry(self):
     entry = WeightDBUtilities.GeneEntry("a", "b", "c", "d", "e", "f")
     self.assertEqual(entry.gene, "a")
     self.assertEqual(entry.gene_name, "b")
     self.assertEqual(entry.n_snps, "c")
     self.assertEqual(entry.pred_perf_R2, "d")
     self.assertEqual(entry.pred_perf_pval, "e")
     self.assertEqual(entry.pred_perf_qval, "f")
예제 #2
0
 def testGeneEntry(self):
     entry = WeightDBUtilities.GeneEntry("a", "b", "c", "d")
     self.assertEqual(entry.gene, "a")
     self.assertEqual(entry.gene_name, "b")
     self.assertEqual(entry.R2, "c")
     self.assertEqual(entry.n_snp, "d")