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

Fix assert to check if file name in list.

parent 38ddd7b3
1 merge request!63Resolve "Single Rep Pool and Pseudo"
Pipeline #6191 failed with stages
in 5 seconds
......@@ -75,7 +75,7 @@ def test_single_rep(design_experiment_2):
single_rep = pool_and_psuedoreplicate.generate_design('false', 1.2, design_experiment_2, cwd, 1, 1)
assert single_rep.shape[0] == 4
assert len(single_rep['control_tag_align'].unique()) == 1
assert single_rep['control_tag_align'].unique()[0] == 'B_1.tagAlign.gz'
assert 'pool_control.tagAlign.gz' in single_rep['control_tag_align'].unique()[0]
@pytest.mark.unit
......@@ -85,7 +85,7 @@ def test_single_control(design_experiment_3):
shutil.copy(test_design_path + 'B_1.bedpe.gz', cwd)
shutil.copy(test_design_path + 'A_1.tagAlign.gz', cwd)
single_control = pool_and_psuedoreplicate.generate_design('true', 1.2, design_experiment_3, cwd, 1, 1)
assert single_control['control_tag_align'].unique() == 'B_1.tagAlign.gz'
assert 'pool_control.tagAlign.gz' in single_control['control_tag_align'].unique()[0]
@pytest.mark.singleend
......
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