Skip to content

Commit

Permalink
Changed the send_trigger message to the name of the candidates. Now t…
Browse files Browse the repository at this point in the history
…he .nc file will have this cand_name.
liamconnor committed Mar 18, 2024
1 parent b1212d6 commit 63f094c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grex_t2/cluster_heimdall.py
Original file line number Diff line number Diff line change
@@ -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))

0 comments on commit 63f094c

Please sign in to comment.