Skip to content
Closed
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
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,21 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Operating System :: Microsoft :: Windows",
]
version = "0.0.2rc16"
version = "0.0.2rc17"
readme = {file = "README.md", content-type = "text/markdown"}

dependencies = [
"aind_behavior_services>=0.13.2",
"pydantic-settings",
"aind-behavior-dynamic-foraging-curricula"
]

[tool.uv.sources]
aind-behavior-dynamic-foraging-curricula = { workspace = true }

[tool.uv.workspace]
members = ["workspaces/*"]

[project.urls]
Documentation = "https://allenneuraldynamics.github.io/Aind.Behavior.DynamicForaging/"
Repository = "https://github.com/AllenNeuralDynamics/Aind.Behavior.DynamicForaging/"
Expand Down
10 changes: 5 additions & 5 deletions schema/aind_behavior_dynamic_foraging.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"type": "string"
},
"version": {
"const": "0.0.2-rc16",
"default": "0.0.2-rc16",
"const": "0.0.2-rc17",
"default": "0.0.2-rc17",
"title": "Version",
"type": "string"
},
Expand Down Expand Up @@ -152,8 +152,8 @@
"description": "Parameters of the task logic"
},
"version": {
"const": "0.0.2-rc16",
"default": "0.0.2-rc16",
"const": "0.0.2-rc17",
"default": "0.0.2-rc17",
"title": "Version",
"type": "string"
},
Expand Down Expand Up @@ -3165,7 +3165,7 @@
"rate": 1.0
},
"truncation_parameters": {
"max": 2.0,
"max": 1.0,
"min": 1.0,
"truncation_mode": "exclude"
},
Expand Down
4 changes: 2 additions & 2 deletions src/Extensions/AindBehaviorDynamicForaging.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public partial class AindDynamicForagingRig
public AindDynamicForagingRig()
{
_aindBehaviorServicesPkgVersion = "0.13.2";
_version = "0.0.2-rc16";
_version = "0.0.2-rc17";
_triggeredCameraController = new CameraControllerSpinnakerCamera();
_harpBehavior = new HarpBehavior();
_harpClockGenerator = new HarpWhiteRabbit();
Expand Down Expand Up @@ -433,7 +433,7 @@ public AindDynamicForagingTaskLogic()
_name = "AindDynamicForaging";
_description = "";
_taskParameters = new AindDynamicForagingTaskParameters();
_version = "0.0.2-rc16";
_version = "0.0.2-rc17";
}

protected AindDynamicForagingTaskLogic(AindDynamicForagingTaskLogic other)
Expand Down
2 changes: 1 addition & 1 deletion src/Extensions/HarpBehavior.bonsai
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<harp:OperationLed>On</harp:OperationLed>
<harp:DumpRegisters>true</harp:DumpRegisters>
<harp:VisualIndicators>On</harp:VisualIndicators>
<harp:Heartbeat>Disabled</harp:Heartbeat>
<harp:Heartbeat>Enabled</harp:Heartbeat>
<harp:IgnoreErrors>false</harp:IgnoreErrors>
<harp:PortName>COMx</harp:PortName>
</Combinator>
Expand Down
60 changes: 31 additions & 29 deletions src/Extensions/Logging.bonsai
Original file line number Diff line number Diff line change
Expand Up @@ -771,62 +771,48 @@
<Modality xsi:nil="true" />
</Expression>
<Expression xsi:type="WorkflowOutput" />
<Expression xsi:type="GroupWorkflow">
<Name>DumpMetadata</Name>
<Expression xsi:type="rx:Defer">
<Name>AdditionalSoftwareEvents</Name>
<Workflow>
<Nodes>
<Expression xsi:type="SubscribeSubject">
<Name>RngSeedValue</Name>
<Name>ManipulatorPosition</Name>
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="rx:Take">
<rx:Count>1</rx:Count>
</Combinator>
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="p1:CreateSoftwareEvent">
<p1:EventName>RngSeed</p1:EventName>
<p1:EventName>InitialManipulatorPosition</p1:EventName>
</Combinator>
</Expression>
<Expression xsi:type="MulticastSubject">
<Name>SoftwareEvent</Name>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>EndExperiment</Name>
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="StringProperty">
<Value>ExperimentCompleted</Value>
</Combinator>
<Name>RngSeedValue</Name>
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="p1:CreateSoftwareEvent">
<p1:EventName>EndSession</p1:EventName>
<p1:EventName>RngSeed</p1:EventName>
</Combinator>
</Expression>
<Expression xsi:type="MulticastSubject">
<Name>SoftwareEvent</Name>
</Expression>
</Nodes>
<Edges>
<Edge From="0" To="1" Label="Source1" />
<Edge From="1" To="2" Label="Source1" />
<Edge From="3" To="4" Label="Source1" />
<Edge From="4" To="5" Label="Source1" />
<Edge From="5" To="6" Label="Source1" />
</Edges>
</Workflow>
</Expression>
<Expression xsi:type="GroupWorkflow">
<Name>AdditionalSoftwareEvents</Name>
<Workflow>
<Nodes>
<Expression xsi:type="SubscribeSubject">
<Name>ManipulatorPosition</Name>
<Name>EndExperiment</Name>
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="rx:Take">
<rx:Count>1</rx:Count>
<Combinator xsi:type="StringProperty">
<Value>ExperimentCompleted</Value>
</Combinator>
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="p1:CreateSoftwareEvent">
<p1:EventName>InitialManipulatorPosition</p1:EventName>
<p1:EventName>EndSession</p1:EventName>
</Combinator>
</Expression>
<Expression xsi:type="MulticastSubject">
Expand All @@ -837,9 +823,23 @@
<Edge From="0" To="1" Label="Source1" />
<Edge From="1" To="2" Label="Source1" />
<Edge From="2" To="3" Label="Source1" />
<Edge From="4" To="5" Label="Source1" />
<Edge From="5" To="6" Label="Source1" />
<Edge From="7" To="8" Label="Source1" />
<Edge From="8" To="9" Label="Source1" />
<Edge From="9" To="10" Label="Source1" />
</Edges>
</Workflow>
</Expression>
<Expression xsi:type="Annotation">
<Name>Wait for logger to initialize</Name>
<Text><![CDATA[]]></Text>
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="rx:DelaySubscription">
<rx:DueTime>PT0.5S</rx:DueTime>
</Combinator>
</Expression>
</Nodes>
<Edges>
<Edge From="0" To="2" Label="Source1" />
Expand All @@ -850,6 +850,8 @@
<Edge From="5" To="6" Label="Source1" />
<Edge From="6" To="7" Label="Source2" />
<Edge From="7" To="8" Label="Source1" />
<Edge From="9" To="11" Label="Source1" />
<Edge From="10" To="11" Label="Source2" />
</Edges>
</Workflow>
</Expression>
Expand Down
Loading
Loading