示例#1
0
 def test_merge_alleles(self):
     self.args.merge_alleles = 'test/munge_test/merge_alleles'
     x = munge.munge_sumstats(self.args, p=False)
     correct = pd.read_csv('test/munge_test/correct_merge.sumstats',
                           delim_whitespace=True,
                           header=0)
     assert_frame_equal(x, correct)
示例#2
0
 def test_basic(self):
     x = munge.munge_sumstats(self.args, p=False)
     correct = pd.read_csv('test/munge_test/correct.sumstats',
                           delim_whitespace=True,
                           header=0)
     assert_frame_equal(x, correct)
示例#3
0
 def test_basic(self):
     x = munge.munge_sumstats(self.args, p=False)
     correct = pd.read_csv(
         'test/munge_test/correct.sumstats', delim_whitespace=True, header=0)
     assert_frame_equal(x, correct)
示例#4
0
 def test_merge_alleles(self):
     self.args.merge_alleles = 'test/munge_test/merge_alleles'
     x = munge.munge_sumstats(self.args, p=False)
     correct = pd.read_csv(
         'test/munge_test/correct_merge.sumstats', delim_whitespace=True, header=0)
     assert_frame_equal(x, correct)
示例#5
0
 def test_merge_alleles(self):
     self.args.merge_alleles = os.path.join(MUNGE_TEST_FILES_DIR, 'merge_alleles')
     x = munge.munge_sumstats(self.args, p=False)
     correct = pd.read_csv(
         os.path.join(MUNGE_TEST_FILES_DIR, 'correct_merge.sumstats'), delim_whitespace=True, header=0)
     assert_frame_equal(x, correct)