changeset 9:9d608c530bbc draft

Uploaded
author greg
date Thu, 09 Mar 2023 18:13:37 +0000
parents 66c7cdf7e93f
children 7c4077c9b3ad
files pima_report.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pima_report.py	Thu Mar 09 18:09:29 2023 +0000
+++ b/pima_report.py	Thu Mar 09 18:13:37 2023 +0000
@@ -433,7 +433,7 @@
             self.doc.new_line(self.read_type + ' classifications')
             self.doc.new_line()
             Table_List = ["Percent of Reads", "Reads", "Level", "Label"]
-            for index, row in kraken_fracs.iterrows():
+            for index, row in kraken_fracs.iteritems():
                 Table_List = Table_List + row.tolist()
             row_count = int(len(Table_List) / 4)
             self.doc.new_table(columns=4, rows=row_count, text=Table_List, text_align='left')