From 63f094c9b478dc079e44077e686f552c5415de8b Mon Sep 17 00:00:00 2001 From: user Date: Mon, 18 Mar 2024 14:38:06 -0700 Subject: [PATCH] Changed the send_trigger message to the name of the candidates. Now the .nc file will have this cand_name. --- grex_t2/cluster_heimdall.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/grex_t2/cluster_heimdall.py b/grex_t2/cluster_heimdall.py index 3261a26..94ba420 100644 --- a/grex_t2/cluster_heimdall.py +++ b/grex_t2/cluster_heimdall.py @@ -441,7 +441,8 @@ def send_trigger(output_dict=None, outputfile=None): ) UDP_PORT = 65432 UDP_IP = "127.0.0.1" - MESSAGE = b"Sending Trigger!" +# MESSAGE = b"{candname_str}" + MESSAGE = bytes(candname, 'utf8') sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # Internet # UDP sock.sendto(MESSAGE, (UDP_IP, UDP_PORT))