changeset 24:803e5965ed20 draft

Uploaded
author greg
date Thu, 20 Apr 2023 18:10:58 +0000
parents d89b7d47a85a
children 4986a7fb2145
files pima_report.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pima_report.py	Thu Apr 20 16:45:57 2023 +0000
+++ b/pima_report.py	Thu Apr 20 18:10:58 2023 +0000
@@ -765,8 +765,6 @@
 
     def add_methods(self):
         self.ofh.write("\nXXXXXX In add_methods\n\n")
-        self.doc.new_line('<div style="page-break-after: always;"></div>')
-        self.doc.new_line()
         if len(self.methods) == 0:
             return
         self.doc.new_line()
@@ -777,6 +775,8 @@
             self.doc.new_line()
             self.doc.new_header(level=3, title=methods_section)
             self.doc.new_paragraph(' '.join(self.methods[methods_section]))
+        self.doc.new_line('<div style="page-break-after: always;"></div>')
+        self.doc.new_line()
 
     def add_summary(self):
         self.ofh.write("\nXXXXXX In add_summary\n\n")