How to specifiy StimulusEpoch.stimulus_start_time #579
Replies: 2 comments
-
There's an open issue on this - they should both be datetime. We'll fix it asap. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Duplicate of #557 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
StimulusEpoch class
aind-data-schema/src/aind_data_schema/stimulus.py
Line 163 in 9967a02
states that
stimulus_start_time
can be the same as the session start time. However, the types are different and they don't serialize from the same data types. For instance, while bothStream
andSession
serialize fromDateTime
,StimulusEpoch
usesTime
as its expected type. Is there any reason for these to not be the same?aind-data-schema/src/aind_data_schema/session.py
Line 260 in 9967a02
aind-data-schema/src/aind_data_schema/session.py
Line 225 in 9967a02
What is the correct way to use this field? thanks!
Beta Was this translation helpful? Give feedback.
All reactions