Skip to content

Commit

Permalink
Fix mapping over for dynamically discovered colection output
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Jun 11, 2018
1 parent 13d13b0 commit 350c8eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/galaxy/tools/actions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,9 @@ def check_elements(elements):
check_elements(elements)

if self.dataset_collection_elements is not None:
# We're mapping over, but the determined collection_type corresponds to the input collection
# TODO: we probably can't assume it's just one layer of mapping over ...
collection_type = ":".join(collection_type.split(':')[1:])
dc = collections_manager.create_dataset_collection(
self.trans,
collection_type=collection_type,
Expand Down

0 comments on commit 350c8eb

Please sign in to comment.