From d0bdd532bbd10fca2bf257bf9a8d0802ac0a0db0 Mon Sep 17 00:00:00 2001 From: Greg Von Kuster Date: Wed, 3 Aug 2016 09:20:08 -0400 Subject: [PATCH] Fix for splitting dataset collections --- lib/galaxy/dataset_collections/subcollections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/dataset_collections/subcollections.py b/lib/galaxy/dataset_collections/subcollections.py index 2ee4336c905..6a18d1a7f31 100644 --- a/lib/galaxy/dataset_collections/subcollections.py +++ b/lib/galaxy/dataset_collections/subcollections.py @@ -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 ) ) + split_elements.extend( _split_dataset_collection( element.child_collection, element.child_collection.collection_type ) ) return split_elements