Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion src/Extensions/IntraSessionVisualizer.bonsai
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<WorkflowBuilder Version="2.9.0"
<WorkflowBuilder Version="2.9.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:rx="clr-namespace:Bonsai.Reactive;assembly=Bonsai.Core"
xmlns:imgui="clr-namespace:Bonsai.ImGui;assembly=Bonsai.ImGui"
Expand Down Expand Up @@ -306,12 +306,29 @@
<Expression xsi:type="imgui:TableNextColumnBuilder">
<imgui:Visible>true</imgui:Visible>
</Expression>
<Expression xsi:type="imgui:ButtonBuilder">
<imgui:Name>NotesButton</imgui:Name>
<imgui:Visible>true</imgui:Visible>
<imgui:Text>Save Notes</imgui:Text>
</Expression>
<Expression xsi:type="p1:MultiLineInputTextBuilder">
<p1:Name>Notes</p1:Name>
<p1:Visible>true</p1:Visible>
<p1:Text>Notes</p1:Text>
<p1:Capacity>16384</p1:Capacity>
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="rx:WithLatestFrom" />
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="rx:DistinctUntilChanged" />
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>Item2</Selector>
</Expression>
<Expression xsi:type="IncludeWorkflow" Path="Extensions\InlineSoftwareEvent.bonsai">
<EventName>Notes</EventName>
</Expression>
</Nodes>
<Edges>
<Edge From="0" To="1" Label="Source1" />
Expand Down Expand Up @@ -385,6 +402,12 @@
<Edge From="63" To="64" Label="Source1" />
<Edge From="64" To="65" Label="Source2" />
<Edge From="66" To="67" Label="Source1" />
<Edge From="66" To="68" Label="Source1" />
<Edge From="67" To="69" Label="Source1" />
<Edge From="68" To="69" Label="Source2" />
<Edge From="69" To="70" Label="Source1" />
<Edge From="70" To="71" Label="Source1" />
<Edge From="71" To="72" Label="Source1" />
</Edges>
</Workflow>
</Expression>
Expand Down
7 changes: 7 additions & 0 deletions src/aind_behavior_dynamic_foraging/data_contract/_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,13 @@ def make_dataset(
root_path / "behavior/SoftwareEvents/LeftManualAutoReward.json"
),
),
SoftwareEvents(
name="Notes",
description="An event emitted when notes are saved in a session.",
reader_params=SoftwareEvents.make_params(
root_path / "behavior/SoftwareEvents/Notes.json"
),
),
SoftwareEvents(
name="RightManualAutoReward",
description="An event emitted when the manual right auto reward is triggered. This manual reward is aligned with go cue.",
Expand Down