Skip to content
Merged
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
58 changes: 16 additions & 42 deletions src/DataSchemas/aind_behavior_vr_foraging.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"AindBehaviorSessionModel": {
"properties": {
"aind_behavior_services_pkg_version": {
"default": "0.12.2",
"default": "0.12.3",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
"title": "aind_behavior_services package version",
"type": "string"
},
"version": {
"const": "0.12.2",
"default": "0.12.2",
"const": "0.12.3",
"default": "0.12.3",
"title": "Version",
"type": "string"
},
Expand Down Expand Up @@ -353,7 +353,7 @@
"AindVrForagingRig": {
"properties": {
"aind_behavior_services_pkg_version": {
"default": "0.12.2",
"default": "0.12.3",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
"title": "aind_behavior_services package version",
"type": "string"
Expand Down Expand Up @@ -611,7 +611,7 @@
"title": "Rng Seed"
},
"aind_behavior_services_pkg_version": {
"default": "0.12.2",
"default": "0.12.3",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
"title": "aind_behavior_services package version",
"type": "string"
Expand Down Expand Up @@ -917,16 +917,6 @@
"type": "object"
},
"BlockEndCondition": {
"discriminator": {
"mapping": {
"Choice": "#/$defs/BlockEndConditionChoice",
"Distance": "#/$defs/BlockEndConditionDistance",
"Duration": "#/$defs/BlockEndConditionDuration",
"PatchCount": "#/$defs/BlockEndConditionPatchCount",
"Reward": "#/$defs/BlockEndConditionReward"
},
"propertyName": "condition_type"
},
"oneOf": [
{
"$ref": "#/$defs/BlockEndConditionDuration"
Expand Down Expand Up @@ -3376,16 +3366,6 @@
"type": "object"
},
"PatchTerminator": {
"discriminator": {
"mapping": {
"OnChoice": "#/$defs/PatchTerminatorOnChoice",
"OnDistance": "#/$defs/PatchTerminatorOnDistance",
"OnRejection": "#/$defs/PatchTerminatorOnRejection",
"OnReward": "#/$defs/PatchTerminatorOnReward",
"OnTime": "#/$defs/PatchTerminatorOnTime"
},
"propertyName": "terminator_type"
},
"oneOf": [
{
"$ref": "#/$defs/PatchTerminatorOnRejection"
Expand Down Expand Up @@ -3945,15 +3925,6 @@
"type": "object"
},
"RewardFunction": {
"discriminator": {
"mapping": {
"OnThisPatchEntryRewardFunction": "#/$defs/OnThisPatchEntryRewardFunction",
"OutsideRewardFunction": "#/$defs/OutsideRewardFunction",
"PatchRewardFunction": "#/$defs/PatchRewardFunction",
"PersistentRewardFunction": "#/$defs/PersistentRewardFunction"
},
"propertyName": "function_type"
},
"oneOf": [
{
"$ref": "#/$defs/PatchRewardFunction"
Expand Down Expand Up @@ -4997,8 +4968,18 @@
"type": "object"
},
"TruncationParameters": {
"description": "Parameters for truncating a distribution to a specified range. Truncation should\nbe applied after sampling and scaling.\n\nUsed to constrain sampled values within minimum and maximum bounds.",
"description": "Parameters for truncating a distribution to a specified range. Truncation should\nbe applied after sampling and scaling.\n\nThe truncation_mode determines how out-of-bounds values are handled:\n- \"exclude\": Resample until a value within [min, max] is obtained.\nIf after a certain number of attempts no valid value is found, it\nwill use the average of sampled values and pick the closest bound.\n- \"clamp\": Clamp values to the nearest bound within [min, max].\nUsed to constrain sampled values within minimum and maximum bounds.",
"properties": {
"truncation_mode": {
"default": "exclude",
"description": "Mode of truncation to apply",
"enum": [
"exclude",
"clamp"
],
"title": "Truncation Mode",
"type": "string"
},
"min": {
"default": 0,
"description": "Minimum value of the sampled distribution",
Expand Down Expand Up @@ -5097,13 +5078,6 @@
"type": "string"
},
"VideoWriter": {
"discriminator": {
"mapping": {
"FFMPEG": "#/$defs/VideoWriterFfmpeg",
"OPENCV": "#/$defs/VideoWriterOpenCv"
},
"propertyName": "video_writer_type"
},
"oneOf": [
{
"$ref": "#/$defs/VideoWriterFfmpeg"
Expand Down
16 changes: 9 additions & 7 deletions src/Extensions.csproj
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<!-- <OutputType>Exe</OutputType> -->
<!--<TargetFramework>net8.0-windows</TargetFramework>-->
<TargetFramework>net480</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Bonsai.Core" Version="2.9.0" />
<PackageReference Include="AllenNeuralDynamics.Core.Design" Version="0.3.0" />
<PackageReference Include="AllenNeuralDynamics.Core.Design" Version="0.3.0" />
<PackageReference Include="OpenCV.Net" Version="3.4.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Bonsai.Harp" Version="3.5.0" />
<PackageReference Include="Bonsai.Harp" Version="3.5.2" />
<PackageReference Include="MathNet.Numerics" Version="4.15.0" />
<PackageReference Include="Harp.Olfactometer" Version="0.1.0-build231127" />
<PackageReference Include="AllenNeuralDynamics.AindManipulator" Version="0.1.6" />
<PackageReference Include="Hexa.NET.ImGui" Version="2.2.8.4" />
<PackageReference Include="Hexa.NET.ImPlot" Version="2.2.8.4" />
<PackageReference Include="Hexa.NET.ImGui" Version="2.2.9" />
<PackageReference Include="Hexa.NET.ImPlot" Version="2.2.9" />
<PackageReference Include="OpenTK.GLControl" Version="3.1.0" />
<PackageReference Include="Bonsai.Dsp.Design" Version="2.9.0" />
<PackageReference Include="Hexa.NET.ImGui.Backends" Version="1.0.17" />
<PackageReference Include="Hexa.NET.ImGui.Backends" Version="1.0.17.4" />
<PackageReference Include="AllenNeuralDynamics.AindBehaviorServices" Version="0.12.0" />
</ItemGroup>
</Project>
Loading