Commit c3c29d8b authored by Holly Ruess's avatar Holly Ruess
Browse files

fix FRiP test

parent fc924835
Pipeline #6872 passed with stages
in 920 minutes and 2 seconds
......@@ -32,9 +32,9 @@ def test_coverage_singleend_human():
@pytest.mark.singleend_human
def test_FRiP_singleend_human():
FRiPscore = test_output_path + 'QC_metrics.tsv'
df_FRiPscore = pd.read_csv(FRiPscore, sep='\t')
assert round(df_FRiPscore.loc[df_FRiPscore['SampleID'] == 'ENCLB622FZX', 'FRiP_score'],6) == 0.210526
FRiPscore = os.path.join(test_output_path, "QC_metrics.tsv")
df_FRiPscore = pd.read_csv(FRiPscore, sep="\t")
assert round(df_FRiPscore.loc[df_FRiPscore['SampleID'] == 'ENCLB622FZX', 'FRiP_score'],6).iloc[0] == 0.210300
@pytest.mark.pairedend_mouse
def test_coverage_pairedend_mouse():
......@@ -45,6 +45,6 @@ def test_coverage_pairedend_mouse():
@pytest.mark.pairedend_mouse
def test_FRiP_pairedend_mouse():
FRiPscore = test_output_path + 'QC_metrics.tsv'
df_FRiPscore = pd.read_csv(FRiPscore, sep='\t')
assert round(df_FRiPscore.loc[df_FRiPscore['SampleID'] == 'ENCLB122XDP', 'FRiP_score'],6) == 0.267798
FRiPscore = os.path.join(test_output_path, "QC_metrics.tsv")
df_FRiPscore = pd.read_csv(FRiPscore, sep="\t")
assert round(df_FRiPscore.loc[df_FRiPscore['SampleID'] == 'ENCLB122XDP', 'FRiP_score'],6).iloc[0] == 0.267798
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