mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Make paired check more defensive
This was erroring out if the collectionType wasn't set. This was causing some weird dragging of the parameter (with the exception in the browser console).
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