AllenInstitute / visual_behavior_analysis

Python package for analyzing behavioral data for Brain Observatory: Visual Behavior
Other
21 stars 6 forks source link

fix broken experiment_id to session_id code and limit stdout warnings/prints #749

Closed dougollerenshaw closed 3 years ago

dougollerenshaw commented 3 years ago

Updates lines of code in data_access.loading to use updated code in data_access.from_lims to convert ophys_experiment_id top ophys_session_id.

Fixes issue #747.

Also maybe related to this issue in the GLM: AllenInstitute/visual_behavior_glm#247

Also fixes issue #750: Removes unnecessary print statement in data_access.utilities that said resampling mesoscope 2P frame times and casts experiment_id to int to avoid warnings about numpy.int64 type in LIMS queries.

And also fixes issue #751: makes sync photodiode error printout optional (suppressed by default). Since the display lag is now being calculated by the SDK, I don't think that it's important for VBA to be reporting problems now.