Commit 375b9e56 authored by Spencer Barnes's avatar Spencer Barnes

add test to ensure symbol column of peak annotation is not empty

parent b5c9ff2e
Pipeline #7801 failed with stages
in 562 minutes and 24 seconds
......@@ -25,6 +25,8 @@ def test_annotation_singleend():
annotation_file = test_output_path + 'ENCSR238SGC.chipseeker_annotation.tsv'
assert os.path.exists(annotation_file)
assert utils.count_lines(annotation_file) >= 149284
df = pd.read_csv(annotation_file, sep = "\t")
assert df['symbol'].notna().all()
@pytest.mark.pairedend
......@@ -42,3 +44,5 @@ def test_annotation_pairedend():
annotation_file = test_output_path + 'ENCSR729LGA.chipseeker_annotation.tsv'
assert os.path.exists(annotation_file)
assert utils.count_lines(annotation_file) >= 25367
df = pd.read_csv(annotation_file, sep = "\t")
assert df['symbol'].notna().all()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment