Skip to content
Snippets Groups Projects
Commit 49b82cd2 authored by Venkat Malladi's avatar Venkat Malladi
Browse files

Fix test for python style.

parent 717df916
Branches
Tags
1 merge request!13Resolve "Add in Macs2 support"
Pipeline #1224 failed with stage
in 4 hours, 38 minutes, and 16 seconds
#!/usr/bin/env python3
import pytest
import pandas as pd
from io import StringIO
import os
import utils
import call_peaks_macs
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../output/callPeaksMACS/'
......
......@@ -4,6 +4,7 @@ import pytest
import pandas as pd
from io import StringIO
import os
import utils
import overlap_peaks
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
......@@ -26,7 +27,7 @@ def design_diff():
def test_check_update_design(design_diff):
new_design = overlap_peaks.update_design(design_diff)
assert df.shape[0] == 2
assert new_design.shape[0] == 2
assert new_design.loc[0, 'control_bam_reads'] == "B_1.bam"
assert new_design.loc[0, 'peak_caller'] == "bed"
......
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