diff --git a/lib/galaxy/managers/collections.py b/lib/galaxy/managers/collections.py index 7313d9a4b8f..ded32d1ba84 100644 --- a/lib/galaxy/managers/collections.py +++ b/lib/galaxy/managers/collections.py @@ -61,7 +61,7 @@ class DatasetCollectionManager( object ): if element_identifiers and not trusted_identifiers: validate_input_element_identifiers( element_identifiers ) - dataset_collection = self.__create_dataset_collection( + dataset_collection = self.create_dataset_collection( trans=trans, collection_type=collection_type, element_identifiers=element_identifiers, @@ -107,18 +107,6 @@ class DatasetCollectionManager( object ): return self.__persist( dataset_collection_instance ) def create_dataset_collection( - self, - trans, - collection_type, - elements=None, - ): - return self.__create_dataset_collection( - trans=trans, - collection_type=collection_type, - elements=elements, - ) - - def __create_dataset_collection( self, trans, collection_type, @@ -253,7 +241,7 @@ class DatasetCollectionManager( object ): # element identifier is a dict with src new_collection... collection_type = element_identifier.get( "collection_type", None ) - collection = self.__create_dataset_collection( + collection = self.create_dataset_collection( trans=trans, collection_type=collection_type, element_identifiers=element_identifier[ "element_identifiers" ],