sbol3.collection

Module Contents

Classes

Collection

The Collection class is a class that groups together a set of

Experiment

The purpose of the Experiment class is to aggregate

class Collection(identity: str, *, members: List[str] = None, namespace: str = None, attachments: List[str] = None, name: str = None, description: str = None, derived_from: List[str] = None, generated_by: List[str] = None, measures: List[SBOLObject] = None, type_uri: str = SBOL_COLLECTION)

Bases: TopLevel

The Collection class is a class that groups together a set of TopLevel objects that have something in common.

Some examples of Collection objects:

  • Results of a query to find all Component objects in a repository that function as promoters.

  • A set of Component objects representing a library of genetic logic gates.

  • A “parts list” for Component with a complex design, containing both that component and all of the Component, Sequence, and Model objects used to provide its full specification.

accept(visitor: Any) Any

Invokes visit_collection on visitor with self as the only argument.

Parameters

visitor (Any) – The visitor instance

Raises

AttributeError – If visitor lacks a visit_collection method

Returns

Whatever visitor.visit_collection returns

Return type

Any

class Experiment(identity: str, *, members: List[str] = None, namespace: str = None, attachments: List[str] = None, name: str = None, description: str = None, derived_from: List[str] = None, generated_by: List[str] = None, measures: List[SBOLObject] = None, type_uri: str = SBOL_EXPERIMENT)

Bases: Collection

The purpose of the Experiment class is to aggregate ExperimentalData objects for subsequent analysis, usually in accordance with an experimental design. Namely, the member properties of an Experiment MUST refer to ExperimentalData objects.

accept(visitor: Any) Any

Invokes visit_experiment on visitor with self as the only argument.

Parameters

visitor (Any) – The visitor instance

Raises

AttributeError – If visitor lacks a visit_experiment method

Returns

Whatever visitor.visit_experiment returns

Return type

Any