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

Fix parsing of json file.

parent ded770b2
Branches
Tags
2 merge requests!58Develop,!46Update consistency checks to be fully in python.
Pipeline #8330 failed with stages
in 2 hours, 28 minutes, and 7 seconds
......@@ -18,7 +18,7 @@ def test_consistencySE():
with open(os.path.join(
test_output_path, 'SE_multiqc_data.json')) as f:
assigned_reads_json = json.load(f)
assigned_reads = assigned_reads_json['report_general_stats_data'][3]['16-1ZX4']['Assigned']
assigned_reaassigned_readsds = assigned_reads_json['report_general_stats_data'][4]['16-1ZX4']['Assigned']
assert assigned_reads == 7742416
......@@ -30,5 +30,5 @@ def test_consistencyPE():
with open(os.path.join(
test_output_path, 'PE_multiqc_data.json')) as f:
assigned_reads_json = json.load(f)
assigned_reads = assigned_reads_json['report_general_stats_data'][3]['Q-Y5JA']['Assigned']
assigned_reads = assigned_reads_json['report_general_stats_data'][4]['Q-Y5JA']['Assigned']
assert assigned_reads == 2599140
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