def OnShowLogs(self, event): """Show all the log files of the selected `Workflow`.""" work = self.GetSelectedWork() if work is None: return TextNotebookFrame.from_files_and_dir(self, dirpath=work.workdir, walk=True, wildcard="*.log").Show()
def OnShowJobOutErrs(self, event): """Show all the queue output/error files files of the selected `Workflow`.""" work = self.GetSelectedWork() if work is None: return TextNotebookFrame.from_files_and_dir(self, dirpath=work.workdir, walk=True, wildcard="*.qout|*.qerr").Show()
def OnShowJobScripts(self, event): """Show all the job script files of the selected `Workflow`.""" work = self.GetSelectedWork() if work is None: return frame = TextNotebookFrame.from_files_and_dir(self, dirpath=work.workdir, walk=True, wildcard="*.sh") frame.Show()