Skip to content

Commit 30b4b6a

Browse files
authored
docs: re-build, removes extra Person, adds CalibrationObject, new Connection pattern (#1509)
1 parent 7184964 commit 30b4b6a

File tree

9 files changed

+26
-33
lines changed

9 files changed

+26
-33
lines changed

docs/source/acquisition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ while the StimulusEpoch represents all stimuli being presented.
7777
| `specimen_id` | `Optional[str]` | Specimen ID is required for in vitro imaging modalities |
7878
| `acquisition_start_time` | `datetime (timezone-aware)` | |
7979
| `acquisition_end_time` | `datetime (timezone-aware)` | |
80-
| `experimenters` | List[[Person](components/identifiers.md#person)] | |
80+
| `experimenters` | `List[str]` | |
8181
| `protocol_id` | `Optional[List[str]]` | DOI for protocols.io |
8282
| `ethics_review_id` | `Optional[List[str]]` | |
8383
| `instrument_id` | `str` | Should match the Instrument.instrument_id |

docs/source/components/connections.md

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,10 @@ Description of a connection between devices in an instrument
88

99
| Field | Type | Description |
1010
|-------|------|-------------|
11-
| `device_names` | `List[str]` | |
12-
| `connection_data` | Dict[str, [ConnectionData](#connectiondata)] | |
13-
14-
15-
### ConnectionData
16-
17-
Configuration data for a device connection including direction and port information
18-
19-
| Field | Type | Description |
20-
|-------|------|-------------|
21-
| `direction` | Optional[[ConnectionDirection](#connectiondirection)] | |
22-
| `port` | `Optional[str]` | |
23-
24-
25-
### ConnectionDirection
26-
27-
Direction of a connection
28-
29-
| Name | Value |
30-
|------|-------|
31-
| `SEND` | `Send` |
32-
| `RECEIVE` | `Receive` |
33-
| `SEND_AND_RECEIVE` | `Send and receive` |
11+
| `source_device` | `str` | |
12+
| `source_port` | `Optional[str]` | |
13+
| `target_device` | `str` | |
14+
| `target_port` | `Optional[str]` | |
15+
| `send_and_receive` | `bool` | Whether the connection is bidirectional (send and receive data) |
3416

3517

docs/source/components/specimen_procedures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Description of surgical or other procedure performed on a specimen
7878
| `specimen_id` | `str` | |
7979
| `start_date` | `datetime.date` | |
8080
| `end_date` | `datetime.date` | |
81-
| `experimenters` | List[[Person](identifiers.md#person)] | |
81+
| `experimenters` | `List[str]` | |
8282
| `protocol_id` | `Optional[List[str]]` | DOI for protocols.io |
8383
| `protocol_parameters` | `Optional[Dict[str, str]]` | Parameters defined in the protocol and their value during this procedure |
8484
| `procedure_details` | List[[HCRSeries](#hcrseries) or [FluorescentStain](reagent.md#fluorescentstain) or [PlanarSectioning](#planarsectioning) or [ProbeReagent](reagent.md#probereagent) or [Reagent](reagent.md#reagent) or [GeneProbeSet](reagent.md#geneprobeset)] | Details of the procedures, including reagents and sectioning information. |

docs/source/components/subject_procedures.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Description of a non-surgical procedure performed on a subject
99
| Field | Type | Description |
1010
|-------|------|-------------|
1111
| `start_date` | `datetime.date` | |
12-
| `experimenters` | Optional[List[[Person](identifiers.md#person)]] | |
12+
| `experimenters` | `Optional[List[str]]` | |
1313
| `ethics_review_id` | `str` | |
1414
| `protocol_id` | `Optional[str]` | DOI for protocols.io |
1515
| `description` | `str` | |
@@ -24,7 +24,7 @@ Description of subject procedures performed at one time
2424
|-------|------|-------------|
2525
| `protocol_id` | `Optional[str]` | DOI for protocols.io |
2626
| `start_date` | `datetime.date` | |
27-
| `experimenters` | Optional[List[[Person](identifiers.md#person)]] | |
27+
| `experimenters` | `Optional[List[str]]` | |
2828
| `ethics_review_id` | `Optional[str]` | |
2929
| `animal_weight_prior` | `Optional[float]` | Animal weight before procedure |
3030
| `animal_weight_post` | `Optional[float]` | Animal weight after procedure |

docs/source/components/subjects.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ Description of breeding info for subject
1515
| `paternal_genotype` | `str` | |
1616

1717

18+
### CalibrationObject
19+
20+
Description of a calibration object
21+
22+
| Field | Type | Description |
23+
|-------|------|-------------|
24+
| `empty` | `bool` | Set to true if the calibration was performed with no object. |
25+
| `description` | `str` | |
26+
| `objects` | Optional[List[[Device](devices.md#device)]] | For calibration objects that are built up from one or more devices. |
27+
28+
1829
### HomeCageEnrichment
1930

2031
Materials provided in animal home cage

docs/source/model.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Description of model evaluation
4040
| `name` | `str` | ('Unique name of the processing step.', ' If not provided, the type will be used as the name.') |
4141
| `stage` | [ProcessStage](processing.md#processstage) | |
4242
| `code` | [Code](components/identifiers.md#code) | Code used for processing |
43-
| `experimenters` | List[[Person](components/identifiers.md#person)] | People responsible for processing |
43+
| `experimenters` | `List[str]` | People responsible for processing |
4444
| `pipeline_name` | `Optional[str]` | Pipeline names must exist in Processing.pipelines |
4545
| `start_date_time` | `datetime (timezone-aware)` | |
4646
| `end_date_time` | `datetime (timezone-aware)` | |
@@ -72,7 +72,7 @@ Description of model training
7272
| `name` | `str` | ('Unique name of the processing step.', ' If not provided, the type will be used as the name.') |
7373
| `stage` | [ProcessStage](processing.md#processstage) | |
7474
| `code` | [Code](components/identifiers.md#code) | Code used for processing |
75-
| `experimenters` | List[[Person](components/identifiers.md#person)] | People responsible for processing |
75+
| `experimenters` | `List[str]` | People responsible for processing |
7676
| `pipeline_name` | `Optional[str]` | Pipeline names must exist in Processing.pipelines |
7777
| `start_date_time` | `datetime (timezone-aware)` | |
7878
| `end_date_time` | `datetime (timezone-aware)` | |

docs/source/processing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Description of a single processing step
3939
| `name` | `str` | ('Unique name of the processing step.', ' If not provided, the type will be used as the name.') |
4040
| `stage` | [ProcessStage](processing.md#processstage) | |
4141
| `code` | [Code](components/identifiers.md#code) | Code used for processing |
42-
| `experimenters` | List[[Person](components/identifiers.md#person)] | People responsible for processing |
42+
| `experimenters` | `List[str]` | People responsible for processing |
4343
| `pipeline_name` | `Optional[str]` | Pipeline names must exist in Processing.pipelines |
4444
| `start_date_time` | `datetime (timezone-aware)` | |
4545
| `end_date_time` | `datetime (timezone-aware)` | |

docs/source/quality_control.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Collection of quality control metrics evaluated on a data asset to determine pas
7070
| Field | Type | Description |
7171
|-------|------|-------------|
7272
| `metrics` | List[[QCMetric](quality_control.md#qcmetric) or [CurationMetric](quality_control.md#curationmetric)] | |
73-
| `key_experimenters` | Optional[List[[Person](components/identifiers.md#person)]] | Experimenters who are responsible for quality control of this data asset |
73+
| `key_experimenters` | `Optional[List[str]]` | Experimenters who are responsible for quality control of this data asset |
7474
| `notes` | `Optional[str]` | |
7575
| `default_grouping` | `List[str]` | Default tag grouping for this QualityControl object, used in visualizations |
7676
| `allow_tag_failures` | `List[str or tuple]` | List of tags that are allowed to fail without failing the overall QC |
@@ -85,7 +85,7 @@ Schema to track curator name and timestamp for curation events
8585

8686
| Field | Type | Description |
8787
|-------|------|-------------|
88-
| `curator` | [Person](components/identifiers.md#person) | |
88+
| `curator` | `str` | |
8989
| `timestamp` | `datetime (timezone-aware)` | |
9090

9191

docs/source/subject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ Description of a subject of data collection
2121
| Field | Type | Description |
2222
|-------|------|-------------|
2323
| `subject_id` | `str` | Unique identifier for the subject of data acquisition |
24-
| `subject_details` | [MouseSubject](components/subjects.md#mousesubject) or [HumanSubject](components/subjects.md#humansubject) | |
24+
| `subject_details` | [MouseSubject](components/subjects.md#mousesubject) or [HumanSubject](components/subjects.md#humansubject) or [CalibrationObject](components/subjects.md#calibrationobject) | |
2525
| `notes` | `Optional[str]` | |

0 commit comments

Comments
 (0)