Skip to content
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

Merged
merged 4 commits into from
Jan 8, 2025
Merged

objects in arena #1220

merged 4 commits into from
Jan 8, 2025

Conversation

saskiad
Copy link
Collaborator

@saskiad saskiad commented Jan 8, 2025

closes #1127

@saskiad saskiad requested a review from dbirman January 8, 2025 21:27
Copy link
Member

@dbirman dbirman left a 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.

@@ -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")
Copy link
Member

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

@@ -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")
Copy link
Member

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup, thanks!

@saskiad saskiad requested a review from dbirman January 8, 2025 22:58
@saskiad saskiad added this pull request to the merge queue Jan 8, 2025
Merged via the queue into dev with commit 0dfb05f Jan 8, 2025
5 checks passed
@saskiad saskiad deleted the feat-1127-arena branch January 8, 2025 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

need a way to specify "object in the arena" in the Session
2 participants