def _read_starlog(self):
sldir   = self.sldir<EOL>slname  = self.slname<EOL>slaname = slname+'<STR_LIT>'<EOL>if not os.path.exists(sldir+'<STR_LIT:/>'+slaname):<EOL><INDENT>print('<STR_LIT>'+self.slname+'<STR_LIT>'+self.slname)<EOL>_cleanstarlog(sldir+'<STR_LIT:/>'+slname)<EOL><DEDENT>else:<EOL><INDENT>if self.clean_starlog:<EOL><INDENT>print('<STR_LIT>'+self.slname+'<STR_LIT>'+self.slname)<EOL>_cleanstarlog(sldir+'<STR_LIT:/>'+slname)<EOL><DEDENT>else:<EOL><INDENT>print('<STR_LIT>'+self.slname+'<STR_LIT>')<EOL><DEDENT><DEDENT>cmd=os.popen('<STR_LIT>'+sldir+'<STR_LIT:/>'+slaname)<EOL>cmd_out=cmd.readline()<EOL>cnum_cycles=cmd_out.split()[<NUM_LIT:0>]<EOL>num_cycles=int(cnum_cycles) - <NUM_LIT:6><EOL>filename=sldir+'<STR_LIT:/>'+slaname<EOL>header_attr,cols,data = _read_mesafile(filename,data_rows=num_cycles)<EOL>self.cols        = cols<EOL>self.header_attr = header_attr<EOL>self.data        = data<EOL>
read history.data or star.log file again