-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inform user about failing wf jobs #262
Inform user about failing wf jobs #262
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments, looks good overall!
if cancelled: | ||
self.workflowKilled.emit() | ||
else: | ||
success = self._workflow_runner.workflowResult() | ||
report = self._workflow_runner.workflowReport() | ||
failed_jobs = [k for k, v in report.items() if not v['completed']] | ||
|
||
if not success: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would prefer "if success:"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed
if cancelled: | ||
self.workflowKilled.emit() | ||
else: | ||
success = self._workflow_runner.workflowResult() | ||
report = self._workflow_runner.workflowReport() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not needed unless success is true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've relocated the variables
75c71cd
to
2fd0f38
Compare
…ctions Inline stringlist buffer functions
Task
Solves #194
Approach
Lists the following jobs that fails from the executed workflow in the dialog window.
I'll see if the stdout and stderr can be written to file as well, but that will be handled in libres.
Depends on