diff pima_report.py @ 7:9213359bfda8 draft

Uploaded
author greg
date Thu, 09 Mar 2023 18:00:40 +0000
parents b13d4c14caaa
children 66c7cdf7e93f
line wrap: on
line diff
--- a/pima_report.py	Thu Mar 09 17:54:17 2023 +0000
+++ b/pima_report.py	Thu Mar 09 18:00:40 2023 +0000
@@ -432,7 +432,7 @@
         self.kraken_fracs['Taxa'] = self.kraken_fracs['Taxa'].str.lstrip()
         self.doc.new_line()
         self.doc.new_header(2, 'Contamination check')
-        for kraken_fracs in self.kraken_fracs.iteritems():
+        for read_type, kraken_fracs in self.kraken_fracs.iteritems():
             self.doc.new_line(self.read_type + ' classifications')
             self.doc.new_line()
             Table_List = ["Percent of Reads", "Reads", "Level", "Label"]