galaxy.model.dataset_collections.types package
- class galaxy.model.dataset_collections.types.BaseDatasetCollectionType[source]
Bases:
object
- abstract generate_elements(dataset_instances: Mapping[str, DatasetCollection | DatasetInstance], **kwds) Iterable[DatasetCollectionElement] [source]
Generate DatasetCollectionElements with corresponding to the supplied dataset instances or throw exception if this is not a valid collection of the specified type.
Submodules
galaxy.model.dataset_collections.types.list module
- class galaxy.model.dataset_collections.types.list.ListDatasetCollectionType[source]
Bases:
BaseDatasetCollectionType
A flat list of named elements.
- generate_elements(dataset_instances: DatasetInstanceMapping, **kwds) Iterable[DatasetCollectionElement] [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:
BaseDatasetCollectionType
Paired (left/right) datasets.
- generate_elements(dataset_instances: DatasetInstanceMapping, **kwds) Iterable[DatasetCollectionElement] [source]
Generate DatasetCollectionElements with corresponding to the supplied dataset instances or throw exception if this is not a valid collection of the specified type.