mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #7777 from mvdbeek/fix_workflow_param_error
Make paired check more defensive
This commit is contained in:
@@ -426,7 +426,7 @@ var InputTerminal = BaseInputTerminal.extend({
|
||||
"Cannot attach collections to data parameters with individual data inputs already attached."
|
||||
);
|
||||
}
|
||||
if (otherCollectionType.collectionType.endsWith("paired")) {
|
||||
if (otherCollectionType.collectionType && otherCollectionType.collectionType.endsWith("paired")) {
|
||||
return new ConnectionAcceptable(
|
||||
false,
|
||||
"Cannot attach paired inputs to multiple data parameters, only lists may be treated this way."
|
||||
|
||||
Reference in New Issue
Block a user