-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
objects in arena #1220
objects in arena #1220
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's one line of code that seems like it wasn't meant for this PR, not sure though. The version also got downgraded by accident looks like -- if you revert that and re-generate examples this looks good to go.
src/aind_data_schema/core/session.py
Outdated
@@ -537,7 +540,7 @@ class Session(AindCoreModel): | |||
|
|||
_DESCRIBED_BY_URL = AindCoreModel._DESCRIBED_BY_BASE_URL.default + "aind_data_schema/core/session.py" | |||
describedBy: str = Field(default=_DESCRIBED_BY_URL, json_schema_extra={"const": _DESCRIBED_BY_URL}) | |||
schema_version: SkipValidation[Literal["1.1.1"]] = Field(default="1.1.1") | |||
schema_version: SkipValidation[Literal["1.0.3"]] = Field(default="1.0.3") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something weird happened here and the version got downgraded -- should definitely be 1.1.1
src/aind_data_schema/core/session.py
Outdated
@@ -63,6 +64,7 @@ class FiberConnectionConfig(AindModel): | |||
patch_cord_output_power: Decimal = Field(..., title="Output power (uW)") | |||
output_power_unit: PowerUnit = Field(default=PowerUnit.UW, title="Output power unit") | |||
fiber_name: str = Field(..., title="Fiber name (must match procedure)") | |||
channels: Optional[List[Channel]] = Field(default=None, title="Channels") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this part of the objects in arena PR, might have snuck in by accident?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup, thanks!
closes #1127