Skip to content

Commit 02d26fa

Browse files
authored
Merge pull request #1737 from AllenNeuralDynamics/release-v2.5.0
Release v2.5.0
2 parents ca78504 + fa8122e commit 02d26fa

82 files changed

Lines changed: 5530 additions & 1174 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/update_docs.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ jobs:
6262
run: |
6363
sudo apt install graphviz libgraphviz-dev -y
6464
python -m pip install -e .[dev] -e .[docs] --no-cache-dir
65-
- name: Generate new rst files
66-
run: |
67-
sphinx-apidoc -o docs/source/ src
6865
- name: Commit changes
6966
uses: EndBug/add-and-commit@v9
7067
with:

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,6 @@ When you are ready to open a pull request, please link any relevant issues and r
179179
- Manually increment the major/minor/patch versions of the core files as needed
180180
- Push the branch and open a PR into main
181181
- After this push, any last minute changes to the release-vX.Y.Z will have to done to via a PR
182-
- After review, use a merge commit to merge into main
183-
- Open a PR from main back into dev so they're synced again
182+
- After review, use a **merge commit** to merge into main, DO NOT SQUASH INTO MAIN
183+
- Open a PR from main back into dev so they're synced again, bypass the rules to use a **merge commit**, DO NOT SQUASH MAIN INTO DEV
184184
- Create a Github release with the corresponding tag, modify the auto-generated release notes to focus on the major changes that occurred

docs/source/acquisition.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ while the StimulusEpoch represents all stimuli being presented.
7979
|-------|------|-------------|
8080
| `subject_id` | `str` | Subject ID (Unique identifier for the subject) |
8181
| `specimen_id` | `Optional[str]` | Specimen ID (Specimen ID is required for in vitro imaging modalities) |
82-
| `acquisition_start_time` | `datetime (timezone-aware)` | Acquisition start time |
82+
| `acquisition_start_time` | `datetime (timezone-aware)` | Acquisition start time (During validation, timezone information will be moved into the acquisition_start_tz field.) |
83+
| `acquisition_start_tz` | `Optional[pydantic_extra_types.timezone_name.TimeZoneName]` | Acquisition start timezone (Automatically populated by a validator based on acquisition_start_time.) |
8384
| `acquisition_end_time` | `datetime (timezone-aware)` | Acquisition end time |
8485
| `experimenters` | `List[str]` | experimenter(s) |
8586
| `protocol_id` | `Optional[List[str]]` | Protocol ID (DOI for protocols.io) |
@@ -108,7 +109,7 @@ Details about the subject during an acquisition
108109
| `animal_weight_post` | `Optional[decimal.Decimal]` | Animal weight (g) (Animal weight after procedure) |
109110
| `weight_unit` | [MassUnit](aind_data_schema_models/units.md#massunit) | Weight unit |
110111
| `anaesthesia` | Optional[[Anaesthetic](components/surgery_procedures.md#anaesthetic)] | Anaesthesia (Anaesthesia present during entire acquisition, use Manipulation for partial anaesthesia) |
111-
| `mouse_platform_name` | `str` | Mouse platform |
112+
| `mouse_platform_name` | `str` | Mouse platform (The surface that the mouse is on during the acquisition) |
112113
| `reward_consumed_total` | `Optional[decimal.Decimal]` | Total reward consumed (mL) |
113114
| `reward_consumed_unit` | Optional[[VolumeUnit](aind_data_schema_models/units.md#volumeunit)] | Reward consumed unit |
114115

@@ -126,7 +127,7 @@ same time.
126127
| `code` | Optional[List[[Code](components/identifiers.md#code)]] | Acquisition code |
127128
| `notes` | `Optional[str]` | Notes |
128129
| `active_devices` | `List[str]` | Active devices (Device names must match devices in the Instrument) |
129-
| `configurations` | List[[LightEmittingDiodeConfig](components/configs.md#lightemittingdiodeconfig) or [LaserConfig](components/configs.md#laserconfig) or [ManipulatorConfig](components/configs.md#manipulatorconfig) or [DetectorConfig](components/configs.md#detectorconfig) or [PatchCordConfig](components/configs.md#patchcordconfig) or [FiberAssemblyConfig](components/configs.md#fiberassemblyconfig) or [MRIScan](components/configs.md#mriscan) or [LickSpoutConfig](components/configs.md#lickspoutconfig) or [AirPuffConfig](components/configs.md#airpuffconfig) or [ImagingConfig](components/configs.md#imagingconfig) or [SlapPlane](components/configs.md#slapplane) or [SampleChamberConfig](components/configs.md#samplechamberconfig) or [ProbeConfig](components/configs.md#probeconfig) or [EphysAssemblyConfig](components/configs.md#ephysassemblyconfig) or [CatheterConfig](components/configs.md#catheterconfig)] | Device configurations (Configurations are parameters controlling active devices during this stream) |
130+
| `configurations` | List[[LightEmittingDiodeConfig](components/configs.md#lightemittingdiodeconfig) or [LaserConfig](components/configs.md#laserconfig) or [ManipulatorConfig](components/configs.md#manipulatorconfig) or [DetectorConfig](components/configs.md#detectorconfig) or [PatchCordConfig](components/configs.md#patchcordconfig) or [FiberAssemblyConfig](components/configs.md#fiberassemblyconfig) or [MISCameraConfig](components/configs.md#miscameraconfig) or [MRIScan](components/configs.md#mriscan) or [LickSpoutConfig](components/configs.md#lickspoutconfig) or [AirPuffConfig](components/configs.md#airpuffconfig) or [ImagingConfig](components/configs.md#imagingconfig) or [SlapPlane](components/configs.md#slapplane) or [SampleChamberConfig](components/configs.md#samplechamberconfig) or [ProbeConfig](components/configs.md#probeconfig) or [EphysAssemblyConfig](components/configs.md#ephysassemblyconfig) or [CatheterConfig](components/configs.md#catheterconfig)] | Device configurations (Configurations are parameters controlling active devices during this stream) |
130131
| `connections` | List[[Connection](components/connections.md#connection)] | Connections (Connections are links between devices that are specific to this acquisition (i.e. not already defined in the Instrument)) |
131132

132133

@@ -149,7 +150,7 @@ Summary of a StimulusEpoch
149150

150151
| Field | Type | Title (Description) |
151152
|-------|------|-------------|
152-
| `output_parameters` | `dict` | Additional metrics |
153+
| `output_parameters` | `Optional[dict]` | Additional metrics |
153154
| `reward_consumed_during_epoch` | `Optional[decimal.Decimal]` | Reward consumed during training (uL) |
154155
| `reward_consumed_unit` | Optional[[VolumeUnit](aind_data_schema_models/units.md#volumeunit)] | Reward consumed unit |
155156
| `trials_total` | `Optional[int]` | Total trials |

docs/source/aind_data_schema.components.rst

Lines changed: 0 additions & 125 deletions
This file was deleted.

docs/source/aind_data_schema.core.rst

Lines changed: 0 additions & 85 deletions
This file was deleted.

docs/source/aind_data_schema.rst

Lines changed: 0 additions & 31 deletions
This file was deleted.

docs/source/aind_data_schema.utils.rst

Lines changed: 0 additions & 69 deletions
This file was deleted.

docs/source/aind_data_schema_models/coordinates.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,14 @@ Origin positions for coordinate systems
6464
| `ORIGIN` | `Origin` |
6565
| `BREGMA` | `Bregma` |
6666
| `LAMBDA` | `Lambda` |
67-
| `C1` | `C1` |
68-
| `C2` | `C2` |
69-
| `C3` | `C3` |
70-
| `C4` | `C4` |
71-
| `C5` | `C5` |
72-
| `C6` | `C6` |
73-
| `C7` | `C7` |
67+
| `BETWEEN_C1_C2` | `Between_C1-C2` |
68+
| `BETWEEN_C2_C3` | `Between_C2-C3` |
69+
| `BETWEEN_C3_C4` | `Between_C3-C4` |
70+
| `BETWEEN_C4_C5` | `Between_C4-C5` |
71+
| `BETWEEN_C6_C7` | `Between_C6-C7` |
72+
| `BETWEEN_C7_C8` | `Between_C7-C8` |
73+
| `BETWEEN_C8_T1` | `Between_C8-T1` |
74+
| `BETWEEN_T1_T2` | `Between_T1-T2` |
7475
| `TIP` | `Tip` |
7576
| `FRONT_CENTER` | `Front_center` |
7677
| `ARENA_CENTER` | `Arena_center` |

0 commit comments

Comments
 (0)