Warning

This document is for an old release of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.

galaxy.model.dataset_collections.types package

class galaxy.model.dataset_collections.types.DatasetCollectionType[source]

Bases: object

abstract generate_elements(dataset_instances)[source]

Generate DatasetCollectionElements with corresponding to the supplied dataset instances or throw exception if this is not a valid collection of the specified type.

class galaxy.model.dataset_collections.types.BaseDatasetCollectionType[source]

Bases: galaxy.model.dataset_collections.types.DatasetCollectionType

Submodules

galaxy.model.dataset_collections.types.list module

class galaxy.model.dataset_collections.types.list.ListDatasetCollectionType[source]

Bases: galaxy.model.dataset_collections.types.BaseDatasetCollectionType

A flat list of named elements.

collection_type = 'list'
__init__()[source]
generate_elements(elements)[source]

Generate DatasetCollectionElements with corresponding to the supplied dataset instances or throw exception if this is not a valid collection of the specified type.

galaxy.model.dataset_collections.types.paired module

class galaxy.model.dataset_collections.types.paired.PairedDatasetCollectionType[source]

Bases: galaxy.model.dataset_collections.types.BaseDatasetCollectionType

Paired (left/right) datasets.

collection_type = 'paired'
__init__()[source]
generate_elements(elements)[source]

Generate DatasetCollectionElements with corresponding to the supplied dataset instances or throw exception if this is not a valid collection of the specified type.

prototype_elements()[source]