From ded770b2262b0304d98cca931541605880f9b293 Mon Sep 17 00:00:00 2001 From: Venkat Malladi <venkat.malladi@utsouthwestern.edu> Date: Tue, 10 Nov 2020 11:12:35 -0600 Subject: [PATCH] Fix consistency check for where it is grabbing. --- workflow/tests/test_consistency.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow/tests/test_consistency.py b/workflow/tests/test_consistency.py index 6188906..81fd637 100644 --- a/workflow/tests/test_consistency.py +++ b/workflow/tests/test_consistency.py @@ -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'][0]['16-1ZX4']['Assigned'] + assigned_reads = assigned_reads_json['report_general_stats_data'][3]['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'][0]['Q-Y5JA']['Assigned'] + assigned_reads = assigned_reads_json['report_general_stats_data'][3]['Q-Y5JA']['Assigned'] assert assigned_reads == 2599140 -- GitLab