From cb97f89d129cf7f0b7cf7146c0c15309b3dcb0c7 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Tue, 5 Jun 2018 15:16:59 +0200 Subject: [PATCH] Fix can_map_over for mapping over paired inputs We'd only try mapping over the first collection type description otherwise. I suppose we didn't notice because the first type is `list` and therefore much more common. Noticed this while working on https://github.com/galaxyproject/galaxy/pull/5640. --- lib/galaxy/tools/parameters/history_query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/tools/parameters/history_query.py b/lib/galaxy/tools/parameters/history_query.py index 12e1accdd82f..79dd837d5d67 100644 --- a/lib/galaxy/tools/parameters/history_query.py +++ b/lib/galaxy/tools/parameters/history_query.py @@ -53,4 +53,4 @@ def can_map_over(self, hdca): # See note about the way this is sorted above. if collection_type_description.is_subcollection_of_type(hdca_collection_type): return collection_type_description - return False + return False