Feat metadata mapping#63
Open
micahwoodard wants to merge 30 commits intomainfrom
Open
Conversation
bruno-f-cruz
requested changes
Apr 13, 2026
| Optional[float]: Total volume of water consumed in milliliters, or None if unavailable. | ||
| """ | ||
|
|
||
| trial_outcomes = dataset(session_path)["Behavior"]["SoftwareEvents"]["TrialOutcome"].load().data["data"] |
Member
There was a problem hiding this comment.
You can validate this with the TrialOutcome pydantic class to make your life easier
Member
There was a problem hiding this comment.
You should talk to people from sci comp. As far as I understand this is considered an anti-pattern since they want you to keep this static somewhere.
Collaborator
Author
There was a problem hiding this comment.
Reached out to Arielle and she said it's preferable to dynamically generate at rig
| dependencies = [ | ||
| "numpy>=2.4.2", | ||
| "pydantic-settings", | ||
| "aind-behavior-dynamic-foraging==0.0.2rc24", |
Member
There was a problem hiding this comment.
This should just be able to reference the current version in the repo I feel (?)
Collaborator
Author
|
@arielleleon @saskiad this is the pr mapping the dynamic foraging output into an acquisition and instrument model. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds metadata mapping for acquisition, instrument, and data description as well as a cli. Based of vr foraging metadata mappers. Also some fixes for coupled trial generator. There are some things in data description like funding and investigators that need to be worked out