def headerHTML(self,fname=None):
if fname is None:<EOL><INDENT>fname = self.fname.replace("<STR_LIT>","<STR_LIT>")<EOL><DEDENT>html="<STR_LIT>"<EOL>html+="<STR_LIT>"%self.ID<EOL>html+=self.abfinfo().replace("<STR_LIT:<>","<STR_LIT>").replace("<STR_LIT:>>","<STR_LIT>").replace("<STR_LIT:\n>","<STR_LIT>")<EOL>html+="<STR_LIT>"%self.ID<EOL>html+=pprint.pformat(self.header, indent=<NUM_LIT:1>)<EOL>html=html.replace("<STR_LIT:\n>",'<STR_LIT>').replace("<STR_LIT:U+0020>","<STR_LIT>")<EOL>html=html.replace(r"<STR_LIT:\x00>","<STR_LIT>")<EOL>html+="<STR_LIT>"<EOL>print("<STR_LIT>")<EOL>print(fname)<EOL>f=open(fname,'<STR_LIT:w>')<EOL>f.write(html)<EOL>f.close()<EOL>
read the ABF header and save it HTML formatted.