Open djkapner opened 3 years ago
survey AllenSDK for mtrain reliance:
AllenSDK/allensdk/brain_observatory/behavior/session_apis/data_io/behavior_ophys_lims_api.py
credentials imported, it doesn't seem to be used (in this module).AllenSDK/allensdk/brain_observatory/behavior/session_apis/data_io/behavior_lims_api.py
credentials imported, it doesn't seem to be used (in this module).AllenSDK/allensdk/brain_observatory/behavior/project_apis/data_io/behavior_project_lims_api.py
- mtrain used to query session_type via behavior_session -> foraging_id. Replacement requires adding session_type (stimulus_name) to LIMS behavior_sessions table. (pkl reads too slow).AllenSDK/allensdk/brain_observatory/behavior/behavior_project_cache.py
not used, just passed on to API.AllenSDK/allensdk/brain_observatory/nwb/ndx-aibs-behavior-ophys.extension.yaml
- shows up twice here.Framework for LIMS team request:
stimulus_name
to behavior_sessions
table. type: TEXT, allow nulls.
NOTE: do we like stimulus_name
? aliases are session_type
(behavior cache name) and stage_name
(pkl file name)TBD SQL + python for finding path and extracting correct field.
http://jira.corp.alleninstitute.org/browse/PBS-2771 created for Platform team to add the column and populate with the information from mtrain
We want to remove mtrain reliance, so that there aren't potential data inconsistencies out of our control, for instance, between mtrain, pkl files, and LIMS.
Tasks
Validation