Skip to content

Commit ce3cfc2

Browse files
feat: add Solution object, in-house reagents (#1825)
* add solution * update docs --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent d60cc9c commit ce3cfc2

8 files changed

Lines changed: 24 additions & 4 deletions

File tree

docs/source/aind_data_schema_models/harp_types.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Harp device types
1818
| `CURRENTDRIVER` | `CurrentDriver` | `1282` |
1919
| `CUTTLEFISH` | `cuTTLefish` | `1403` |
2020
| `CUTTLEFISHFIP` | `cuTTLefishFip` | `1407` |
21+
| `DELUXDRIVER` | `deLuxDriver` | `1410` |
2122
| `DRIVER12VOLTS` | `Driver12Volts` | `1072` |
2223
| `ENVIRONMENTSENSOR` | `EnvironmentSensor` | `1405` |
2324
| `FLYPAD` | `FlyPad` | `1200` |

docs/source/aind_data_schema_models/organizations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Organization
4747
| `EDMUND_OPTICS` | `None` | `Edmund Optics` | `Research Organization Registry (ROR)` | `01j1gwp17` |
4848
| `EMORY` | `Emory` | `Emory University` | `Research Organization Registry (ROR)` | `03czfpz43` |
4949
| `EURESYS` | `None` | `Euresys` | `None` | `None` |
50+
| `EXCELITAS_TECHNOLOGIES` | `None` | `Excelitas Technologies` | `Research Organization Registry (ROR)` | `01tpbbf75` |
5051
| `FILTER_MANUFACTURERS` | `N/A` | `N/A` | `N/A` | `N/A` |
5152
| `FLIR` | `FLIR` | `Teledyne FLIR` | `Research Organization Registry (ROR)` | `01j1gwp17` |
5253
| `FUJINON` | `None` | `Fujinon` | `None` | `None` |

docs/source/aind_data_schema_models/process_names.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Process names
1717
| `EPHYS_VISUALIZATION` | `Ephys visualization` |
1818
| `FIDUCIAL_SEGMENTATION` | `Fiducial segmentation` |
1919
| `FILE_FORMAT_CONVERSION` | `File format conversion` |
20+
| `FIX_COLOR_RANGE` | `Fix color range` |
2021
| `FLUORESCENCE_EVENT_DETECTION` | `Fluorescence event detection` |
2122
| `IMAGE_ATLAS_ALIGNMENT` | `Image atlas alignment` |
2223
| `IMAGE_BACKGROUND_SUBTRACTION` | `Image background subtraction` |
@@ -28,6 +29,7 @@ Process names
2829
| `IMAGE_FLAT_FIELD_CORRECTION` | `Image flat-field correction` |
2930
| `IMAGE_IMPORTING` | `Image importing` |
3031
| `IMAGE_MIP_VISUALIZATION` | `Image mip visualization` |
32+
| `IMAGE_MULTISCALING` | `Image multiscaling` |
3133
| `IMAGE_RADIAL_CORRECTION` | `Image radial correction` |
3234
| `IMAGE_SPOT_DETECTION` | `Image spot detection` |
3335
| `IMAGE_SPOT_SPECTRAL_UNMIXING` | `Image spot spectral unmixing` |

docs/source/aind_data_schema_models/specimen_procedure_types.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,5 @@ Specimen procedures
2525
| `SOAK` | `Soak` |
2626
| `STORAGE` | `Storage` |
2727
| `STRIPPING` | `Stripping` |
28-
| `TAMOXIFEN_INDUCTION` | `Tamoxifen induction` |
2928

3029

docs/source/components/reagent.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,13 @@ Description of a small molecule probe
115115
| `mass_unit` | [MassUnit](../aind_data_schema_models/units.md#massunit) | Mass unit |
116116

117117

118+
### Solution
119+
120+
Description of a solution made in house. Should match a solution named in protocol.
121+
122+
| Field | Type | Title (Description) |
123+
|-------|------|-------------|
124+
| `name` | `str` | Name |
125+
| `lot_number` | `Optional[str]` | Lot number |
126+
127+

docs/source/components/specimen_procedures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Description of surgical or other procedure performed on a specimen
108108
| `experimenters` | `List[str]` | experimenter(s) |
109109
| `protocol_id` | `Optional[List[str]]` | Protocol ID (DOI for protocols.io) |
110110
| `protocol_parameters` | `Optional[Dict[str, str]]` | Protocol parameters (Parameters defined in the protocol and their value during this procedure) |
111-
| `procedure_details` | List[[HCRSeries](#hcrseries) or [FluorescentStain](reagent.md#fluorescentstain) or [Sectioning](#sectioning) or [PlanarSectioning](#planarsectioning) or [ProbeReagent](reagent.md#probereagent) or [Reagent](reagent.md#reagent) or [GeneProbeSet](reagent.md#geneprobeset)] | Procedure details (Details of the procedures, including reagents and sectioning information.) |
111+
| `procedure_details` | List[[HCRSeries](#hcrseries) or [FluorescentStain](reagent.md#fluorescentstain) or [Sectioning](#sectioning) or [PlanarSectioning](#planarsectioning) or [ProbeReagent](reagent.md#probereagent) or [Reagent](reagent.md#reagent) or [GeneProbeSet](reagent.md#geneprobeset) or [Solution](reagent.md#solution)] | Procedure details (Details of the procedures, including reagents and sectioning information.) |
112112
| `notes` | `Optional[str]` | Notes |
113113

114114

src/aind_data_schema/components/reagent.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ class Reagent(DataModel):
3131
expiration_date: Optional[date] = Field(default=None, title="Lot expiration date")
3232

3333

34+
class Solution(DataModel):
35+
"""Description of a solution made in house. Should match a solution named in protocol."""
36+
37+
name: str = Field(..., title="Name")
38+
lot_number: Optional[str] = Field(default=None, title="Lot number")
39+
40+
3441
class OligoProbe(DataModel):
3542
"""Description of an oligonucleotide probe"""
3643

src/aind_data_schema/components/specimen_procedures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
from aind_data_schema.base import AwareDatetimeWithDefault, DataModel, DiscriminatedList
1515
from aind_data_schema.components.coordinates import Atlas, CoordinateSystem, Translation
16-
from aind_data_schema.components.reagent import FluorescentStain, GeneProbeSet, ProbeReagent, Reagent
16+
from aind_data_schema.components.reagent import FluorescentStain, GeneProbeSet, ProbeReagent, Reagent, Solution
1717
from aind_data_schema.utils.exceptions import OneOfError
1818

1919

@@ -178,7 +178,7 @@ class SpecimenProcedure(DataModel):
178178
)
179179

180180
procedure_details: DiscriminatedList[
181-
HCRSeries | FluorescentStain | Sectioning | PlanarSectioning | ProbeReagent | Reagent | GeneProbeSet
181+
HCRSeries | FluorescentStain | Sectioning | PlanarSectioning | ProbeReagent | Reagent | GeneProbeSet | Solution
182182
] = Field(
183183
default=[],
184184
title="Procedure details",

0 commit comments

Comments
 (0)