We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This issue was automatically generated from GUI logs.file: Foraging.pyfunction: _Saveline 2700logfile: W10DT714674/W10DT714674-D_gui_log_2024-10-04_10-33-53.txtboxes: 6Dcount: 1text: KeyError: 'BS_TotalReward'Log context
10:41:07 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 52:['/PhotometryRising', 7263930.044608, '127.0.0.1', 4033], displaying at 0.5 Hz 10:41:07 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 52:['/PhotometryFalling', 7263930.109952, '127.0.0.1', 4033], displaying at 0.5 Hz 10:41:09 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 52:['/PhotometryRising', 7263932.094656, '127.0.0.1', 4033], displaying at 0.5 Hz 10:41:10 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 52:['/PhotometryFalling', 7263932.16, '127.0.0.1', 4033], displaying at 0.5 Hz 10:41:11 AM:INFO:Foraging:Foraging.py:_StartExcitation:line 3367:StartExcitation is unchecked 10:41:18 AM:INFO:Foraging:Foraging.py:_Start:line 3960:Start button pressed: ending trial loop 10:41:18 AM:INFO:Foraging:Foraging.py:_Start:line 3971:canceling photometry baseline timer 10:41:18 AM:INFO:Foraging:Foraging.py:_StartTrialLoop:line 4126:ending trial loop 10:41:20 AM:INFO:Foraging:Foraging.py:_Save:line 2457:Saving current session, ForceSave=True 10:41:21 AM:INFO:Foraging:Foraging.py:_Save:line 2468:saving without weight or extra water 10:41:21 AM:INFO:Foraging:Foraging.py:_GetWaterCalibration:line 1015:Loaded Water Calibration 10:41:21 AM:INFO:Foraging:Foraging.py:_NewSession:line 3541:New Session pressed 10:41:21 AM:INFO:Foraging:Foraging.py:_StopPhotometry:line 3475:Checking that photometry is not running 10:41:21 AM:INFO:Foraging:Foraging.py:_StopPhotometry:line 3485:Photometry excitation stopped 10:41:22 AM:INFO:Foraging:Foraging.py:_NewSession:line 3614:New Session complete 10:41:22 AM:INFO:GenerateMetadata:GenerateMetadata.py:__init__:line 91:processing:C:\behavior_data\446-6-D\731296\behavior_731296_2024-10-04_10-34-35 10:41:22 AM:INFO:GenerateMetadata:GenerateMetadata.py:_handle_edge_cases:line 399:Cannot log reward delivery in session metadata - missing fields 10:41:22 AM:INFO:GenerateMetadata:GenerateMetadata.py:_handle_edge_cases:line 416:No laser calibration file for session metadata 10:41:22 AM:ERROR:Foraging:Foraging.py:_Save:line 2699:Error generating session metadata: 'BS_TotalReward' 10:41:23 AM:ERROR:Foraging:Foraging.py:_Save:line 2700:Traceback (most recent call last): File "C:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2681, in _Save generated_metadata=generate_metadata(Obj=Obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\GenerateMetadata.py", line 108, in __init__ return_tag=self._handle_edge_cases() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\GenerateMetadata.py", line 502, in _handle_edge_cases self.total_reward_consumed_in_session=float(self.Obj['BS_TotalReward']) ~~~~~~~~^^^^^^^^^^^^^^^^^^ KeyError: 'BS_TotalReward'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This issue was automatically generated from GUI logs.
file: Foraging.py
function: _Save
line 2700
logfile: W10DT714674/W10DT714674-D_gui_log_2024-10-04_10-33-53.txt
boxes: 6D
count: 1
text: KeyError: 'BS_TotalReward'
Log context
The text was updated successfully, but these errors were encountered: