From 4a5ac4a9620fac00e668775c5daab29f9706b3ad Mon Sep 17 00:00:00 2001
From: Venkat Malladi <venkat.malladi@utsouthwestern.edu>
Date: Tue, 10 Nov 2020 15:00:11 -0600
Subject: [PATCH] Fix parsing of json file.

---
 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 81fd637..dc8b717 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'][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
-- 
GitLab