From 72dd53f55e7ae8ad3a18278da88cc800d7f6572e Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Wed, 13 Jun 2018 20:50:05 +0200 Subject: [PATCH] Update comments to the fact that we're processing list or list:paired collections --- lib/galaxy/tools/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/galaxy/tools/__init__.py b/lib/galaxy/tools/__init__.py index 2ce2e1b333e4..6fe7d88daaf3 100755 --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -2530,10 +2530,10 @@ def produce_outputs(self, trans, out_data, output_collections, incoming, history elements = collection.element_object.elements collection_type = collection.element_object.collection_type else: - # A pair + # A list of pairs elements = collection.collection.elements collection_type = collection.collection.collection_type - # We only process list or paired collections. Higher order collection will be mapped over + # We only process list or list of pair collections. Higher order collection will be mapped over assert collection_type in ("list", "list:paired") elements_to_copy = []