def html_single_basic(self,abfID,launch=False,overwrite=False):
if type(abfID) is str:<EOL><INDENT>abfID=[abfID]<EOL><DEDENT>for thisABFid in cm.abfSort(abfID):<EOL><INDENT>parentID=cm.parent(self.groups,thisABFid)<EOL>saveAs=os.path.abspath("<STR_LIT>"%(self.folder2,parentID))<EOL>if overwrite is False and os.path.basename(saveAs) in self.files2:<EOL><INDENT>continue<EOL><DEDENT>filesByType=cm.filesByType(self.groupFiles[parentID])<EOL>html="<STR_LIT>"<EOL>html+='<STR_LIT>'<EOL>html+='<STR_LIT>'%parentID<EOL>html+='<STR_LIT>'%os.path.abspath(self.folder1+"<STR_LIT:/>"+parentID+"<STR_LIT>")<EOL>html+='<STR_LIT>'<EOL>catOrder=["<STR_LIT>","<STR_LIT>","<STR_LIT>","<STR_LIT>"]<EOL>categories=cm.list_order_by(filesByType.keys(),catOrder)<EOL>for category in [x for x in categories if len(filesByType[x])]:<EOL><INDENT>if category=='<STR_LIT>':<EOL><INDENT>html+="<STR_LIT>"<EOL><DEDENT>elif category=='<STR_LIT>':<EOL><INDENT>html+="<STR_LIT>"<EOL><DEDENT>elif category=='<STR_LIT>':<EOL><INDENT>html+="<STR_LIT>"<EOL><DEDENT>elif category=='<STR_LIT>':<EOL><INDENT>html+="<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>html+="<STR_LIT>"<EOL><DEDENT>for fname in filesByType[category]:<EOL><INDENT>html+=self.htmlFor(fname)<EOL><DEDENT>html+='<STR_LIT>'*<NUM_LIT:3><EOL><DEDENT>print("<STR_LIT>",saveAs,'<STR_LIT>')<EOL>style.save(html,saveAs,launch=launch)<EOL><DEDENT>
generate a generic flat file html for an ABF parent. You could give
this a single ABF ID, its parent ID, or a list of ABF IDs.
If a child ABF is given, the parent will automatically be used.