Skip to content

Commit

Permalink
Do not adapt target collection to child collection type
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed May 31, 2018
1 parent 825d7f6 commit 50c9870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/dataset_collections/subcollections.py
Expand Up @@ -20,6 +20,6 @@ def _split_dataset_collection(dataset_collection, collection_type):
if child_collection.collection_type == collection_type:
split_elements.append(element)
else:
split_elements.extend(_split_dataset_collection(element.child_collection, element.child_collection.collection_type))
split_elements.extend(_split_dataset_collection(element.child_collection, collection_type))

return split_elements

0 comments on commit 50c9870

Please sign in to comment.