sbol2.component

Module Contents

Classes

ComponentInstance

Component

FunctionalComponent

class sbol2.component.ComponentInstance(type_uri, uri, definition, access, version)

Bases: sbol2.identified.Identified

class sbol2.component.Component(uri=URIRef('example'), definition='', access=SBOL_ACCESS_PUBLIC, version=VERSION_STRING)

Bases: ComponentInstance

addRole(new_role)
removeRole(index=0)
static _role_set_role_integration(sbol_obj, arg)

SBOL 2.3.0 says that if a Component has roles then it MUST specify a roleIntegration.

class sbol2.component.FunctionalComponent(uri=URIRef('example'), definition='', access=SBOL_ACCESS_PUBLIC, direction=SBOL_DIRECTION_NONE, version=VERSION_STRING)

Bases: ComponentInstance

abstract connect(interface_component)
abstract mask(masked_component)
abstract override(masked_component)
abstract isMasked()