Skip to content
Snippets Groups Projects
Commit 6ed76f56 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Add initial trial for dataQC unit improvement #48

parent fa5e0d39
Branches
Tags
2 merge requests!37v0.0.1,!35Ci
Pipeline #7719 canceled with stages
in 4 minutes and 23 seconds
......@@ -11,4 +11,14 @@ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
@pytest.mark.dataQC
def test_dataQC():
assert os.path.exists(os.path.join(test_output_path, 'Q-Y5F6_1M.se.sorted.deduped.tin.xls'))
assert countLines(os.path.join(test_output_path, 'Q-Y5F6_1M.se.sorted.deduped.tin.xls'))
def countLines(fileName):
data = False
file = open(fileName, "r")
for line in file:
if file.readlines()[6] != "geneID":
data = True
break
return data
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