File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11node_name : hudson_solo
22node_id : 01JV2YA5Z7D1JSBZSG7GHF8RJ4
3- node_url : null
3+ node_url : http://hudson01.cels.anl.gov:2003/
44node_description : Node for the Hudson SOLO liquid handler
55node_type : device
66module_name : hudson_solo_module
@@ -26,6 +26,7 @@ commands: {}
2626is_template : false
2727config_defaults :
2828 port : 2003
29+ host : hudson01.cels.anl.gov
2930actions :
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
Original file line number Diff line number Diff line change 11node_name : hudson_solo
22node_id : 01JV2YA5Z7D1JSBZSG7GHF8RJ4
3- node_url : null
3+ node_url : http://hudson01.cels.anl.gov:2003/
44node_description : Node for the Hudson SOLO liquid handler
55node_type : device
66module_name : hudson_solo_module
@@ -10,3 +10,4 @@ commands: {}
1010is_template : false
1111config_defaults :
1212 port : 2003
13+ host : hudson01.cels.anl.gov
Original file line number Diff line number Diff line change 66from pathlib import Path
77from typing import Annotated
88
9- from madsci .common .types .action_types import ActionSucceeded
109from madsci .common .types .node_types import RestNodeConfig
1110from madsci .node_module .helpers import action
1211from 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
9593if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments