mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix workflow parameter connectabilty
This commit is contained in:
@@ -333,6 +333,11 @@ class BaseInputTerminal extends Terminal {
|
||||
}
|
||||
_producesAcceptableDatatype(other) {
|
||||
// other is a non-collection output...
|
||||
|
||||
if (other instanceof OutputParameterTerminal) {
|
||||
return new ConnectionAcceptable(false, "Cannot connect workflow parameter to data input.");
|
||||
}
|
||||
|
||||
for (const t in this.datatypes) {
|
||||
const thisDatatype = this.datatypes[t];
|
||||
if (thisDatatype == "input") {
|
||||
|
||||
@@ -241,6 +241,9 @@ steps:
|
||||
label: tool_exec
|
||||
in:
|
||||
inttest: input_int
|
||||
cat1:
|
||||
# regression test, ensures connecting works in the presence of data input terminals
|
||||
tool_id: cat1
|
||||
"""
|
||||
)
|
||||
self.screenshot("workflow_editor_parameter_connection_simple")
|
||||
|
||||
Reference in New Issue
Block a user