mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-31 02:28:09 +08:00
Merge pull request #735 from jmchilton/collection_fix
Fix for 13ea86753a.
This commit is contained in:
@@ -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" ],
|
||||
|
||||
Reference in New Issue
Block a user