Unescaped percentage signs (%) don't seem to be receivable by the MinKNOW API. We can send them without error but they don't appear in the UI, so some kind of silent failure?
from minknow_api.manager import Manager
m = Manager(host="localhost", port=9501, use_tls=False)
for pos in m.flow_cell_positions():
print(f"Connecting to {pos.name}")
conn = pos.connect()
break
incoming_msgs = conn.log.get_user_messages()
for send in ["Hello, World!", "A \%", "B 100%", "C 100\%"]:
resp = conn.log.send_user_message(severity=1, user_message=send)
for recv in incoming_msgs:
print(recv)
Unescaped percentage signs (
%
) don't seem to be receivable by the MinKNOW API. We can send them without error but they don't appear in the UI, so some kind of silent failure?Output:
System details: