From 042ec2ee014cb42dd979e68411b9021c92a2b9b8 Mon Sep 17 00:00:00 2001 From: Junhan Chang Date: Fri, 20 Jun 2025 21:22:32 +0800 Subject: [PATCH] fix mock_reactor --- test/experiments/mock_reactor.json | 8 ++++---- unilabos/registry/devices/vacuum_and_purge.yaml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/experiments/mock_reactor.json b/test/experiments/mock_reactor.json index dfcf911..1c03d31 100644 --- a/test/experiments/mock_reactor.json +++ b/test/experiments/mock_reactor.json @@ -140,8 +140,8 @@ } }, { - "source": "vacuum_valve", - "target": "vacuum_pump", + "source": "vacuum_pump", + "target": "vacuum_valve", "type": "fluid", "port": { "vacuum_pump": "out", @@ -149,8 +149,8 @@ } }, { - "source": "gas_valve", - "target": "gas_source", + "source": "gas_source", + "target": "gas_valve", "type": "fluid", "port": { "gas_source": "out", diff --git a/unilabos/registry/devices/vacuum_and_purge.yaml b/unilabos/registry/devices/vacuum_and_purge.yaml index 160f8fc..84fb58c 100644 --- a/unilabos/registry/devices/vacuum_and_purge.yaml +++ b/unilabos/registry/devices/vacuum_and_purge.yaml @@ -26,7 +26,7 @@ vacuum_pump.mock: - handler_key: out label: out data_type: fluid - io_type: target + io_type: source data_source: handle data_key: fluid_in init_param_schema: