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

Fix test file error and missing modules.

parent d7b59b36
1 merge request!32Resolve "Missing modules"
Pipeline #3605 canceled with stages
in 1 minute and 17 seconds
...@@ -326,6 +326,8 @@ process crossReads { ...@@ -326,6 +326,8 @@ process crossReads {
} }
else { else {
""" """
module load python/3.6.1-2-anaconda
module load phantompeakqualtools/1.2
python3 $baseDir/scripts/xcor.py -t $seTagAlign python3 $baseDir/scripts/xcor.py -t $seTagAlign
""" """
} }
......
...@@ -11,4 +11,13 @@ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ ...@@ -11,4 +11,13 @@ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
@pytest.mark.singleend @pytest.mark.singleend
def test_software_references(): def test_software_references():
assert os.path.exists(os.path.join(test_output_path, 'software_references_mqc.txt')) assert os.path.exists(os.path.join(test_output_path, 'software_references_mqc.yaml'))
@pytest.mark.singleend
def test_software_references_output():
software_references = os.path.join(test_output_path, 'software_references_mqc.yaml')
with open(software_references, 'r') as stream:
data_loaded = yaml.load(stream)
assert len(data_loaded['data'].split('<dt>')) == 17
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