-
Notifications
You must be signed in to change notification settings - Fork 7
regenerating the metadata from the behavior json
XX-Yin edited this page Feb 17, 2025
·
1 revision
Ensure the Dynamic Foraging GUI is downloaded and installed following the instructions provided in the official repository: [Dynamic Foraging Task GitHub](https://github.com/AllenNeuralDynamics/dynamic-foraging-task).
Once the GUI is installed, metadata for the session and rig can be generated using one of the following methods:
- Navigate to the following directory:
dynamic-foraging-task\src\foraging_gui - Open the
GenerateMetadata.pyscript in a code editor. - Provide the full path of the JSON file (
json_file) and specify the output folder (output_folder) in the last line of the script. - Run the script to generate session and rig metadata in the specified
output_folder.
- Open the behavior GUI.
- Navigate to
File -> Openand select the behavior JSON file you wish to process. - Click the
Savebutton. This will save the behavior and rig metadata in the same folder structure as when originally collected.- Note: Other data remains protected and will not be regenerated in this mode; only metadata is regenerated.