diff pima_report.py @ 33:f5a9f1969199 draft default tip

Uploaded
author greg
date Thu, 31 Aug 2023 20:55:23 +0000
parents 163260afc1b1
children
line wrap: on
line diff
--- a/pima_report.py	Thu Aug 31 18:30:13 2023 +0000
+++ b/pima_report.py	Thu Aug 31 20:55:23 2023 +0000
@@ -479,13 +479,13 @@
                     'Small indels',
                     '{:,}'.format(quast_indels)
                 ]
+                self.doc.new_table(columns=2, rows=3, text=Table_1, text_align='left')
+                self.doc.new_line('<div style="page-break-after: always;"></div>')
+                self.doc.new_line()
             except Exception:
                 # Likely a high dissimilarity bewteen the sample
                 # and the reference, resulting in a failed alignment.
                 pass
-        self.doc.new_table(columns=2, rows=3, text=Table_1, text_align='left')
-        self.doc.new_line('<div style="page-break-after: always;"></div>')
-        self.doc.new_line()
         # TODO: self.alignment_notes is not currently populated.
         if len(self.alignment_notes) > 0:
             self.doc.new_header(level=3, title=self.alignment_notes_title)