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)
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)
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)
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)
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)