comparison pima_report.py @ 30:134a0879d0b6 draft

Uploaded
author greg
date Wed, 03 May 2023 15:36:36 +0000
parents 27485e70ed2b
children a859de7cce94
comparison
equal deleted inserted replaced
29:1352b8aa5979 30:134a0879d0b6
751 self.doc.new_line() 751 self.doc.new_line()
752 752
753 def add_lrn_risk_info(self): 753 def add_lrn_risk_info(self):
754 self.ofh.write("\nXXXXXX In add_lrn_risk_info\n\n") 754 self.ofh.write("\nXXXXXX In add_lrn_risk_info\n\n")
755 if self.lrn_risk_amr_file is None and self.lrn_risk_blacklist_file is None and self.lrn_risk_vf_file is None: 755 if self.lrn_risk_amr_file is None and self.lrn_risk_blacklist_file is None and self.lrn_risk_vf_file is None:
756 return
757 if not os.path.isfile(self.lrn_risk_amr_file) and not os.path.isfile(self.lrn_risk_blacklist_file) and not os.path.isfile(self.lrn_risk_vf_file):
758 return
759 if os.path.getsize(self.lrn_risk_amr_file) == 0 and os.path.getsize(self.lrn_risk_blacklist_file) == 0 and os.path.getsize(self.lrn_risk_vf_file) == 0:
756 return 760 return
757 self.doc.new_line() 761 self.doc.new_line()
758 self.doc.new_header(level=2, title=self.lrn_risk_title) 762 self.doc.new_header(level=2, title=self.lrn_risk_title)
759 # Process self.lrn_risk_amr_file. 763 # Process self.lrn_risk_amr_file.
760 try: 764 try: