sbol3.varcomp
¶
Module Contents¶
Classes¶
As described above, the VariableComponent VariableFeature class |
Functions¶
|
Used by Document to construct a VariableFeature when reading an SBOL file. |
- class VariableFeature(cardinality: str, variable: Union[Identified, str], *, variants: List[Union[Identified, str]] = None, variant_collections: Union[Union[Identified, str], List[Union[Identified, str]]] = None, variant_derivations: List[Union[Identified, str]] = None, variant_measures: List[Union[Identified, str]] = None, name: str = None, description: str = None, derived_from: List[str] = None, generated_by: List[str] = None, measures: List[SBOLObject] = None, identity: str = None, type_uri: str = SBOL_VARIABLE_FEATURE)¶
Bases:
Identified
As described above, the VariableComponent VariableFeature class specifies a variable and set of values that will replace one of the SubComponent Feature objects in the template of a CombinatorialDerivation. The variable is specified by the variable property, and the set of values is defined by the union of Component objects referred to by the variant, variantCollection, and variantDerivation properties.
- accept(visitor: Any) Any ¶
Invokes visit_variable_feature on visitor with self as the only argument.
- Parameters
visitor (Any) – The visitor instance
- Raises
AttributeError – If visitor lacks a visit_variable_feature method
- Returns
Whatever visitor.visit_variable_feature returns
- Return type
Any
- validate(report: ValidationReport = None) ValidationReport ¶
- build_variable_feature(identity: str, type_uri: str = SBOL_VARIABLE_FEATURE)¶
Used by Document to construct a VariableFeature when reading an SBOL file.