Skip to content

Commit 8f86f18

Browse files
authored
Merge pull request #1269 from AllenNeuralDynamics/release-v1.4.0
Release v1.4.0
2 parents 732edac + 1155926 commit 8f86f18

23 files changed

+285
-137
lines changed

examples/bergamo_ophys_session.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/session.py",
3-
"schema_version": "1.1.1",
3+
"schema_version": "1.1.2",
44
"protocol_id": [],
55
"experimenter_full_name": [
66
"John Doe"
@@ -153,6 +153,7 @@
153153
"stimulus_device_names": [],
154154
"speaker_config": null,
155155
"light_source_config": [],
156+
"objects_in_arena": null,
156157
"output_parameters": {},
157158
"reward_consumed_during_epoch": null,
158159
"reward_consumed_unit": "microliter",

examples/ephys_rig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/rig.py",
3-
"schema_version": "1.0.4",
3+
"schema_version": "1.1.1",
44
"rig_id": "323_EPHYS1_20231003",
55
"modification_date": "2023-10-03",
66
"mouse_platform": {

examples/ephys_session.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/session.py",
3-
"schema_version": "1.1.1",
3+
"schema_version": "1.1.2",
44
"protocol_id": [],
55
"experimenter_full_name": [
66
"Max Quibble",
@@ -326,6 +326,7 @@
326326
"stimulus_device_names": [],
327327
"speaker_config": null,
328328
"light_source_config": [],
329+
"objects_in_arena": null,
329330
"output_parameters": {},
330331
"reward_consumed_during_epoch": null,
331332
"reward_consumed_unit": "microliter",
@@ -368,6 +369,7 @@
368369
"stimulus_device_names": [],
369370
"speaker_config": null,
370371
"light_source_config": [],
372+
"objects_in_arena": null,
371373
"output_parameters": {},
372374
"reward_consumed_during_epoch": null,
373375
"reward_consumed_unit": "microliter",

examples/fip_behavior_rig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/rig.py",
3-
"schema_version": "1.0.4",
3+
"schema_version": "1.1.1",
44
"rig_id": "447_FIP-Behavior_20000101",
55
"modification_date": "2000-01-01",
66
"mouse_platform": {

examples/fip_ophys_rig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/rig.py",
3-
"schema_version": "1.0.4",
3+
"schema_version": "1.1.1",
44
"rig_id": "428_FIP1_20231003",
55
"modification_date": "2023-10-03",
66
"mouse_platform": {

examples/mri_session.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/session.py",
3-
"schema_version": "1.1.1",
3+
"schema_version": "1.1.2",
44
"protocol_id": [
55
"dx.doi.org/10.57824/protocols.io.bh7kl4n6"
66
],

examples/multiplane_ophys_session.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/session.py",
3-
"schema_version": "1.1.1",
3+
"schema_version": "1.1.2",
44
"protocol_id": [],
55
"experimenter_full_name": [
66
"John Doe"

examples/ophys_session.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/session.py",
3-
"schema_version": "1.1.1",
3+
"schema_version": "1.1.2",
44
"protocol_id": [],
55
"experimenter_full_name": [
66
"John Doe"

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,15 @@ dynamic = ["version"]
1515

1616
dependencies = [
1717
'aind-data-schema-models>=0.5.4, <1.0.0',
18-
'dictdiffer',
1918
'pydantic>=2.7',
20-
'inflection',
21-
'jsonschema',
2219
'semver'
2320
]
2421

2522
[project.optional-dependencies]
2623
dev = [
2724
'aind_data_schema[linters]',
28-
'pydantic>=2.7, !=2.9.0, !=2.9.1'
25+
'pydantic>=2.7, !=2.9.0, !=2.9.1',
26+
'dictdiffer',
2927
]
3028

3129
linters = [
@@ -35,7 +33,7 @@ linters = [
3533
'flake8',
3634
'interrogate',
3735
'isort',
38-
'aind-flake8-extensions==0.5.2'
36+
'aind-flake8-extensions>=0.6,<0.7'
3937
]
4038

4139
docs = [

schemas/metadata_schema.json

Lines changed: 46 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57247,8 +57247,8 @@
5724757247
"type": "string"
5724857248
},
5724957249
"schema_version": {
57250-
"const": "1.0.4",
57251-
"default": "1.0.4",
57250+
"const": "1.1.1",
57251+
"default": "1.1.1",
5725257252
"title": "Schema Version",
5725357253
"type": "string"
5725457254
},
@@ -62306,8 +62306,8 @@
6230662306
"type": "string"
6230762307
},
6230862308
"schema_version": {
62309-
"const": "1.1.1",
62310-
"default": "1.1.1",
62309+
"const": "1.1.2",
62310+
"default": "1.1.2",
6231162311
"title": "Schema Version",
6231262312
"type": "string"
6231362313
},
@@ -70874,6 +70874,21 @@
7087470874
"description": "Light sources for stimulation",
7087570875
"title": "Light source config"
7087670876
},
70877+
"objects_in_arena": {
70878+
"anyOf": [
70879+
{
70880+
"items": {
70881+
"type": "string"
70882+
},
70883+
"type": "array"
70884+
},
70885+
{
70886+
"type": "null"
70887+
}
70888+
],
70889+
"default": null,
70890+
"title": "Objects in arena"
70891+
},
7087770892
"output_parameters": {
7087870893
"$ref": "#/$defs/AindGeneric",
7087970894
"default": {},
@@ -70961,6 +70976,7 @@
7096170976
"description": "Types of stimulus modalities",
7096270977
"enum": [
7096370978
"Auditory",
70979+
"Free moving",
7096470980
"Olfactory",
7096570981
"Optogenetics",
7096670982
"None",
@@ -72341,6 +72357,30 @@
7234172357
"$ref": "#/$defs/SizeUnit",
7234272358
"default": "centimeter",
7234372359
"title": "Width unit"
72360+
},
72361+
"encoder": {
72362+
"anyOf": [
72363+
{
72364+
"$ref": "#/$defs/Device"
72365+
},
72366+
{
72367+
"type": "null"
72368+
}
72369+
],
72370+
"default": null,
72371+
"title": "Encoder"
72372+
},
72373+
"pulse_per_revolution": {
72374+
"anyOf": [
72375+
{
72376+
"type": "integer"
72377+
},
72378+
{
72379+
"type": "null"
72380+
}
72381+
],
72382+
"default": null,
72383+
"title": "Pulse per revolution"
7234472384
}
7234572385
},
7234672386
"required": [
@@ -107144,8 +107184,8 @@
107144107184
"type": "string"
107145107185
},
107146107186
"schema_version": {
107147-
"const": "1.1.2",
107148-
"default": "1.1.2",
107187+
"const": "1.2.1",
107188+
"default": "1.2.1",
107149107189
"title": "Schema Version",
107150107190
"type": "string"
107151107191
},

0 commit comments

Comments
 (0)