Slot: code_modules

Importable module names whose import registers this figure’s custom panels / transforms (via bsplot.register_panel / register_transform). The emitted plot.py imports them, so a study ships its bespoke figure code in its code_source instead of in core tvbo. The modules must be importable when the figure renders (loading the study puts its code/ dir on the path).

URI: tvbo:slot/code_modules

Applicable Classes

Name Description Modifies Slot
Figure A publication figure, a mosaic of panels rendered from result containers no

Properties

Type and Range

Property Value
Range xsd:string
Domain Of Figure

Cardinality and Requirements

Property Value
Multivalued Yes

Slot Characteristics

Property Value
Owner Figure

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/tvbo/figure

Mappings

Mapping Type Mapped Value
self tvbo:code_modules
native tvbo:code_modules

LinkML Source

name: code_modules
description: Importable module names whose import registers this figure's custom panels
  / transforms (via bsplot.register_panel / register_transform). The emitted plot.py
  imports them, so a study ships its bespoke figure code in its code_source instead
  of in core tvbo. The modules must be importable when the figure renders (loading
  the study puts its code/ dir on the path).
from_schema: https://w3id.org/tvbo/figure
rank: 1000
owner: Figure
domain_of:
- Figure
range: string
multivalued: true