You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@dougollerenshaw@nickponvert
Hi, convert code fails for the following 2 mesoscope sessions :
session_id:
845444695
846652517
The error is copied below: (get_device_info, and then computer name seems to be missing)
Can we fix this?
Thanks.
File "/home/farzaneh/Documents/analysis_codes/visual_behavior_analysis/visual_behavior/ophys/io/convert_level_1_to_level_2.py", line 973, in convert_level_1_to_level_2
core_data = get_core_data(pkl, timestamps_stimulus)
File "/home/farzaneh/Documents/analysis_codes/visual_behavior_analysis/visual_behavior/ophys/io/convert_level_1_to_level_2.py", line 416, in get_core_data
core_data = foraging2.data_to_change_detection_core(pkl, time=timestamps_stimulus)
File "/home/farzaneh/Documents/analysis_codes/visual_behavior_analysis/visual_behavior/translator/foraging2/init.py", line 81, in data_to_change_detection_core
"metadata": data_to_metadata(data),
File "/home/farzaneh/Documents/analysis_codes/visual_behavior_analysis/visual_behavior/translator/foraging2/init.py", line 162, in data_to_metadata
device_name = get_device_name(data)
File "/home/farzaneh/Documents/analysis_codes/visual_behavior_analysis/visual_behavior/translator/foraging2/extract.py", line 1123, in get_device_name
return exp_data['platform_info']['computer_name']
@farznaj I'm working on a PR (#558) to use the allensdk to get the well-known stimulus pickle file that is tracked in LIMS for each session (which should have this field). Would you be able to check out branch fix/issue533 and test this again to see if it fixes it?
@nickponvert Hey Nick; thanks for your response. I tried it. It failed now for a different reason, copied below:
File "/home/farzaneh/Documents/analysis_codes/visual_behavior_analysis/visual_behavior/ophys/io/convert_level_1_to_level_2.py", line 414, in get_core_data
File "/home/farzaneh/Documents/analysis_codes/visual_behavior_analysis/visual_behavior/translator/foraging/init.py", line 40, in data_to_change_detection_core
handler = ListHandler(log_messages)
File "/home/farzaneh/Documents/analysis_codes/visual_behavior_analysis/visual_behavior/utilities.py", line 174, in init
super(ListHandler, self).init()
TypeError: super(type, obj): obj must be an instance or subtype of type
Activity
nickponvert commentedon May 18, 2019
@farznaj I'm working on a PR (#558) to use the
allensdkto get the well-known stimulus pickle file that is tracked in LIMS for each session (which should have this field). Would you be able to check out branchfix/issue533and test this again to see if it fixes it?farznaj commentedon May 20, 2019
@nickponvert Hey Nick; thanks for your response. I tried it. It failed now for a different reason, copied below:
File "/home/farzaneh/Documents/analysis_codes/visual_behavior_analysis/visual_behavior/ophys/io/convert_level_1_to_level_2.py", line 414, in get_core_data
File "/home/farzaneh/Documents/analysis_codes/visual_behavior_analysis/visual_behavior/translator/foraging/init.py", line 40, in data_to_change_detection_core
handler = ListHandler(log_messages)
File "/home/farzaneh/Documents/analysis_codes/visual_behavior_analysis/visual_behavior/utilities.py", line 174, in init
super(ListHandler, self).init()
TypeError: super(type, obj): obj must be an instance or subtype of type
nickponvert commentedon Jan 22, 2020
@farznaj let's resurrect this and see if it is still a problem or can be closed. Please give it a shot running VBA on the master branch.
farznaj commentedon Jan 22, 2020
hi nick; these were ophys 7 sessions that missed the platform information.
nickponvert commentedon Jan 22, 2020
ok great. I'm working on some spring cleaning, so let's close this.