Skip to content

Commit b293f0b

Browse files
authored
Merge pull request #580 from AllenNeuralDynamics/feat_smallthings
Feat smallthings
2 parents 0aed878 + dcffb1d commit b293f0b

18 files changed

+31
-30
lines changed

examples/bergamo_ophys_session.json

Lines changed: 3 additions & 3 deletions
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/session.py",
3-
"schema_version": "0.0.3",
3+
"schema_version": "0.0.4",
44
"experimenter_full_name": [
55
"John Doe"
66
],
@@ -122,8 +122,8 @@
122122
"other_parameters": null,
123123
"notes": null
124124
},
125-
"stimulus_start_time": "07:00:00",
126-
"stimulus_end_time": "07:00:00"
125+
"stimulus_start_time": "2022-07-12T07:00:00",
126+
"stimulus_end_time": "2022-07-12T07:00:00"
127127
}
128128
],
129129
"reward_delivery": null,

examples/bergamo_ophys_session.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from aind_data_schema.stimulus import PhotoStimulation, PhotoStimulationGroup, StimulusEpoch
88

99
t = datetime.datetime(2022, 7, 12, 7, 00, 00)
10-
t2 = datetime.time(7, 00, 00)
1110

1211
s = Session(
1312
experimenter_full_name=["John Doe"],
@@ -83,8 +82,8 @@
8382
],
8483
inter_trial_interval=10,
8584
),
86-
stimulus_start_time=t2,
87-
stimulus_end_time=t2,
85+
stimulus_start_time=t,
86+
stimulus_end_time=t,
8887
)
8988
],
9089
)

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/rig.py",
3-
"schema_version": "0.1.3",
3+
"schema_version": "0.1.4",
44
"rig_id": "323_EPHYS1",
55
"modification_date": "2023-10-03",
66
"modalities": [

examples/ephys_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/session.py",
3-
"schema_version": "0.0.3",
3+
"schema_version": "0.0.4",
44
"experimenter_full_name": [
55
"Jane Doe"
66
],

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/rig.py",
3-
"schema_version": "0.1.3",
3+
"schema_version": "0.1.4",
44
"rig_id": "428_FIP1_2",
55
"modification_date": "2023-10-03",
66
"modalities": [

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/session.py",
3-
"schema_version": "0.0.3",
3+
"schema_version": "0.0.4",
44
"experimenter_full_name": [
55
"John Doe"
66
],

src/aind_data_schema/behavior/behavior_rig.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424

2525

2626
class BehaviorRig(AindCoreModel):
27-
"""Description of an behavior rig. This is being deprecated after 2023-11-01."""
27+
"""Description of an behavior rig. This is being deprecated after 2023-11-01. Use Rig class instead."""
2828

29-
schema_version: str = Field("0.1.17", description="schema version", title="Version", const=True)
29+
schema_version: str = Field("0.1.18", description="schema version", title="Version", const=True)
3030

3131
rig_id: str = Field(..., description="room_stim apparatus_version", title="Rig ID")
3232
mouse_platform: Annotated[

src/aind_data_schema/behavior/behavior_session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ def validate_other(cls, v):
5252

5353

5454
class BehaviorSession(AindCoreModel):
55-
"""Description of a behavior session. This is being deprecated after 2023-11-01."""
55+
"""Description of a behavior session. This is being deprecated after 2023-11-01. Use Session class instead."""
5656

5757
schema_version: str = Field(
58-
"0.0.10",
58+
"0.0.11",
5959
description="Schema version",
6060
title="Schema Version",
6161
const=True,

src/aind_data_schema/device.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ class CameraTarget(Enum):
269269
BOTTOM = "Bottom"
270270
EYE = "Eye"
271271
FACE_BOTTOM = "Face bottom"
272+
FACE_FORWARD = "Face forward"
272273
FACE_SIDE = "Face side"
273274
SIDE = "Side"
274275
TONGUE = "Tongue"

src/aind_data_schema/ephys/ephys_rig.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ class EphysAssembly(AindModel):
109109

110110

111111
class EphysRig(AindCoreModel):
112-
"""Description of an ephys rig. This is being deprecated after 2023-11-01."""
112+
"""Description of an ephys rig. This is being deprecated after 2023-11-01. Use Rig class instead."""
113113

114-
schema_version: str = Field("0.7.16", description="schema version", title="Version", const=True)
114+
schema_version: str = Field("0.7.17", description="schema version", title="Version", const=True)
115115
rig_id: str = Field(..., description="room_stim apparatus_version", title="Rig ID")
116116
ephys_assemblies: Optional[List[EphysAssembly]] = Field(None, title="Ephys probes", unique_items=True)
117117
stick_microscopes: Optional[List[StickMicroscopeAssembly]] = Field(None, title="Stick microscopes")

0 commit comments

Comments
 (0)