def html_single_basic(self,ID):
if not ID in self.cells:<EOL><INDENT>self.log.error("<STR_LIT>",ID)<EOL>return<EOL><DEDENT>htmlFname=os.path.abspath(self.abfFolder2+"<STR_LIT:/>"+ID+"<STR_LIT>")<EOL>html="<STR_LIT>"%ID<EOL>npics=<NUM_LIT:0><EOL>for childID in [os.path.splitext(x)[<NUM_LIT:0>] for x in self.fnamesByCell[ID]]:<EOL><INDENT>pics=[x for x in self.fnames2 if x.startswith(childID) and os.path.splitext(x)[<NUM_LIT:1>].lower() in ["<STR_LIT>","<STR_LIT>"]]<EOL>html+="<STR_LIT>"%(os.path.abspath(self.abfFolder+'<STR_LIT:/>'+childID+"<STR_LIT>"))<EOL>for i,pic in enumerate(pics):<EOL><INDENT>html+='<STR_LIT>'%(pic,pic)<EOL>npics+=<NUM_LIT:1><EOL><DEDENT>html+="<STR_LIT>"<EOL><DEDENT>style.save(html,htmlFname)<EOL>self.log.info("<STR_LIT>",htmlFname,npics)<EOL>
generate ./swhlab/xxyxxzzz.html for a single given abf.
Input can be an ABF file path of ABF ID.