Skip to content

Commit

Permalink
Removed dialog from restart execution button. Fixes #524 (#529)
Browse files Browse the repository at this point in the history
WIP #524 Added restart execution button

WIP #524 Removed 'ExecPipeline' from Executions
  • Loading branch information
brollb authored Jul 19, 2016
1 parent 1720fc8 commit 0bd0bd7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plugins/ExecutePipeline/ExecutePipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,12 @@ define([
};

ExecutePipeline.prototype.onOperationFail = function(node, err) {
var id = this.core.getPath(node),
var job = this.core.getParent(node),
id = this.core.getPath(node),
name = this.core.getAttribute(node, 'name');

this.logger.debug(`Operation ${name} (${id}) failed: ${err}`);
this.core.setAttribute(job, 'status', 'fail');
this.onPipelineComplete(err);
};

Expand Down
Binary file modified src/seeds/cifar10/cifar10.webgmex
Binary file not shown.
Binary file modified src/seeds/pipeline/pipeline.webgmex
Binary file not shown.
Binary file modified src/seeds/project/project.webgmex
Binary file not shown.
10 changes: 10 additions & 0 deletions src/visualizers/panels/ForgeActionButton/Actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,16 @@ define([
href: download.execFiles
}
],
Execution: [
{
name: 'Restart Execution',
icon: 'replay',
priority: 1000,
action: function() {
this.runExecutionPlugin('ExecutePipeline');
}
}
],
Pipeline: [
{
name: 'Create new node',
Expand Down

0 comments on commit 0bd0bd7

Please sign in to comment.