Skip to content

Commit

Permalink
Fix olfactometer calibration workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-f-cruz committed May 10, 2024
1 parent 7fa78dc commit 308b084
Showing 1 changed file with 29 additions and 21 deletions.
50 changes: 29 additions & 21 deletions src/olfactometer_calibration.bonsai
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
<Expression xsi:type="rx:AsyncSubject">
<Name>TaskLogicSchema</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>TaskParameters</Selector>
</Expression>
<Expression xsi:type="rx:AsyncSubject">
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>RawRigSchema</Name>
</Expression>
Expand Down Expand Up @@ -76,12 +82,14 @@
<Edges>
<Edge From="0" To="1" Label="Source1" />
<Edge From="1" To="2" Label="Source1" />
<Edge From="2" To="3" Label="Source1" />
<Edge From="3" To="4" Label="Source1" />
<Edge From="4" To="5" Label="Source1" />
<Edge From="5" To="6" Label="Source1" />
<Edge From="6" To="7" Label="Source1" />
<Edge From="7" To="8" Label="Source1" />
<Edge From="8" To="9" Label="Source1" />
<Edge From="9" To="10" Label="Source1" />
<Edge From="10" To="11" Label="Source1" />
<Edge From="11" To="12" Label="Source1" />
</Edges>
</Workflow>
</Expression>
Expand Down Expand Up @@ -207,7 +215,7 @@
<Workflow>
<Nodes>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>ChannelConfig</Selector>
Expand Down Expand Up @@ -769,7 +777,7 @@
</Workflow>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>ChannelConfig</Selector>
Expand Down Expand Up @@ -804,7 +812,7 @@
<Name>OdorEndValveState</Name>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>ChannelConfig</Selector>
Expand Down Expand Up @@ -852,7 +860,7 @@
<Name>SoftwareEvent</Name>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>ChannelConfig</Selector>
Expand Down Expand Up @@ -910,7 +918,7 @@
</PropertyMappings>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>FullFlowRate</Selector>
Expand Down Expand Up @@ -1032,7 +1040,7 @@
<Workflow>
<Nodes>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>ChannelConfig</Selector>
Expand Down Expand Up @@ -1092,7 +1100,7 @@
</Combinator>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>TimeOff</Selector>
Expand Down Expand Up @@ -1120,7 +1128,7 @@
<Name>OdorEndValveState</Name>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>TimeOn</Selector>
Expand All @@ -1143,7 +1151,7 @@
<Name>OdorEndValveState</Name>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>NRepeatsPerStimulus</Selector>
Expand Down Expand Up @@ -1234,7 +1242,7 @@
</Workflow>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>ChannelConfig</Selector>
Expand Down Expand Up @@ -1269,7 +1277,7 @@
<Name>OdorEndValveState</Name>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>ChannelConfig</Selector>
Expand Down Expand Up @@ -1317,7 +1325,7 @@
<Name>SoftwareEvent</Name>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>ChannelConfig</Selector>
Expand Down Expand Up @@ -1379,7 +1387,7 @@
</PropertyMappings>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>FullFlowRate</Selector>
Expand Down Expand Up @@ -1448,7 +1456,7 @@
<Workflow>
<Nodes>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>ChannelConfig</Selector>
Expand Down Expand Up @@ -1508,7 +1516,7 @@
</Combinator>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>TimeOff</Selector>
Expand Down Expand Up @@ -1551,7 +1559,7 @@
</PropertyMappings>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>FullFlowRate</Selector>
Expand Down Expand Up @@ -1673,7 +1681,7 @@
</Workflow>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>TimeOn</Selector>
Expand Down Expand Up @@ -1715,7 +1723,7 @@
</PropertyMappings>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>FullFlowRate</Selector>
Expand Down Expand Up @@ -1774,7 +1782,7 @@
</Workflow>
</Expression>
<Expression xsi:type="SubscribeSubject">
<Name>TaskLogicSchema</Name>
<Name>TaskLogicParameters</Name>
</Expression>
<Expression xsi:type="MemberSelector">
<Selector>NRepeatsPerStimulus</Selector>
Expand Down

0 comments on commit 308b084

Please sign in to comment.