mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-29 17:42:12 +08:00
Workflows containing tools that are not loaded will now open in the editor instead of failing on the dictionary lookup.
The offending nodes are marked as having an error state, and the workflow cannot be saved. This will enable users to at least look at and try to recover a workflow by removing (and potentially replacing) the offending steps, as well as providing a better view of what's actually wrong with the workflow.
This commit is contained in:
@@ -1058,9 +1058,12 @@ $.extend( CanvasManager.prototype, {
|
||||
y = position.top / in_h * o_h,
|
||||
w = node_element.width() / in_w * o_w,
|
||||
h = node_element.height() / in_h * o_h;
|
||||
if (node.workflow_outputs != undefined && node.workflow_outputs.length > 0){
|
||||
if (node.tool_errors){
|
||||
c.fillStyle = "#FFCCCC";
|
||||
c.strokeStyle = "#AA6666";
|
||||
} else if (node.workflow_outputs != undefined && node.workflow_outputs.length > 0){
|
||||
c.fillStyle = "#E8A92D";
|
||||
c.strokeStyle = "#E8A92D"
|
||||
c.strokeStyle = "#E8A92D";
|
||||
}
|
||||
c.fillRect( x, y, w, h );
|
||||
c.strokeRect( x, y, w, h );
|
||||
|
||||
Reference in New Issue
Block a user