def Run(self): self.notepad = NotePad() tid = self.notepad.tid self.toplevel.destroy() blastbg = xbb_blastbg.BlastDisplayer(self.command_data, tid) blastbg.RunCommand()
def Run(self): """Open new notepad and initialize running BLAST.""" self.notepad = NotePad() tid = self.notepad.tid self.toplevel.destroy() blastbg = xbb_blastbg.BlastDisplayer(self.command_data, tid) blastbg.RunCommand()
def Run(self): self.notepad = NotePad() tid = self.notepad.tid self.notepad.menubar.configure(bg='red') self.toplevel.destroy() blastbg = xbb_blastbg.BlastDisplayer(self.command, tid) blastbg.RunCommand() # indicate the finished run by changing color try: self.notepad.menubar.configure(bg='green4') except: pass