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

Stimulus QC Needs "Regimen Version" Information #400

Open
samiamseid opened this issue Feb 27, 2024 · 5 comments
Open

Stimulus QC Needs "Regimen Version" Information #400

samiamseid opened this issue Feb 27, 2024 · 5 comments
Labels
issue type: feature request new metrics, plots or features for software

Comments

@samiamseid
Copy link
Collaborator

Feature Request Motivation
Many stimulus sets have multiple different regimen versions. Since mouse-seeks no longer has mtrain interaction which previously kept operators from selecting the incorrect regimen version, we now especially need to be checking regimen version is correct, since previous versions can have different images or durations.

Requested Feature/Solution
Stimulus Context and Progression (Automated) needs an additional field containing regimen version. This information should be queried from mtrain

Scope
all projects

@samiamseid samiamseid added the issue type: feature request new metrics, plots or features for software label Feb 27, 2024
@macarenasa
Copy link
Collaborator

  • Is this part of QC? or information visible to operators?
    • both, analysis bugs (eg. Open Scope) where select sessions were run with different versions of stimulus.
    • Mouse-seeks had the functionality to select within a selected group of regimens, Mouse-QC lost this feature.
      - Manual human QC in mTRAIN - Mouse-seeks had features that supported guidance to regimens per mice.
      - mTRAIN does state regimen version - operator did not notice change in regimen (extension of stimulus name).
      - Feature - description of what the regimen was (taken from metadata).

@shiellac
Copy link
Collaborator

shiellac commented Apr 4, 2024

image

mouse-seeks had a functionality of assigning animals to one regimen and only displaying stimulus from selected regimen. this feature is not available in mouse-qc and operators are manually selecting from the one mtrain menu.

@samiamseid
Copy link
Collaborator Author

What I would like to see is a column added to this existing mouse-qc module:
stimreg

Regimen version can be queried through the mtrain API using the "get_behavior_sessions" function, which requires the behavior session uuid. The uuid is a field provided in the platform.json for a session, and can also be retrieved from the stimulus.pkl file

@samiamseid
Copy link
Collaborator Author

update: much easier than using the mtrain API, you can simply use an html request to pull from the mtrain database. All it requires is requests and json. No login necessary, just the mtrain address with the method "/get_behavior_sessions/" appended to the end

@samiamseid
Copy link
Collaborator Author

example
regimens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue type: feature request new metrics, plots or features for software
Projects
None yet
Development

No branches or pull requests

3 participants