Skip to content

Commit a4396da

Browse files
running in 350
1 parent 9111c5b commit a4396da

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

definitions/hudson_solo.node.info.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
node_name: hudson_solo
22
node_id: 01JV2YA5Z7D1JSBZSG7GHF8RJ4
3-
node_url: null
3+
node_url: http://hudson01.cels.anl.gov:2003/
44
node_description: Node for the Hudson SOLO liquid handler
55
node_type: device
66
module_name: hudson_solo_module
@@ -26,6 +26,7 @@ commands: {}
2626
is_template: false
2727
config_defaults:
2828
port: 2003
29+
host: hudson01.cels.anl.gov
2930
actions:
3031
run_protocol:
3132
name: run_protocol
@@ -63,7 +64,7 @@ config:
6364
event_client_config: null
6465
resource_server_url: null
6566
minio_client_config: null
66-
host: 127.0.0.1
67+
host: hudson01.cels.anl.gov
6768
port: 2003
6869
protocol: http
6970
solo_port: 11139

definitions/hudson_solo.node.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
node_name: hudson_solo
22
node_id: 01JV2YA5Z7D1JSBZSG7GHF8RJ4
3-
node_url: null
3+
node_url: http://hudson01.cels.anl.gov:2003/
44
node_description: Node for the Hudson SOLO liquid handler
55
node_type: device
66
module_name: hudson_solo_module
@@ -10,3 +10,4 @@ commands: {}
1010
is_template: false
1111
config_defaults:
1212
port: 2003
13+
host: hudson01.cels.anl.gov

hudson_solo_module/solo_node.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from pathlib import Path
77
from typing import Annotated
88

9-
from madsci.common.types.action_types import ActionSucceeded
109
from madsci.common.types.node_types import RestNodeConfig
1110
from madsci.node_module.helpers import action
1211
from madsci.node_module.rest_node_module import RestNode
@@ -61,13 +60,13 @@ def run_protocol(
6160
"""Runs the provided SoloSoft .hso protocol file."""
6261
self.solo_interface.open_solo_soft()
6362
self.solo_interface.client.RunCommand("LOAD " + str(protocol_file))
63+
time.sleep(2)
6464
self.solo_interface.client.RunCommand("RUN " + str(protocol_file))
6565

6666
while self.solo_interface.client.RunCommand("GETSTATUS") != "IDLE":
6767
time.sleep(1)
6868

6969
self.solo_interface.close_solo_soft()
70-
return ActionSucceeded()
7170

7271
@action
7372
def refill_tips(
@@ -89,7 +88,6 @@ def refill_tips(
8988
i += 1 # noqa
9089
with Path(self.config.tips_file_path).open(mode="w") as tips_file:
9190
tips_file.writelines(lines)
92-
return ActionSucceeded()
9391

9492

9593
if __name__ == "__main__":

0 commit comments

Comments
 (0)