Skip to content

Resolve "E-logbook messages from Bliss: wrong type or category?"

Closes #39 (closed)

Before this MR: all comments are annotations and all the others are notifications

image

After this MR: the same when nothing is specified (all comments are annotations and all the others are notifications). But additional parameters editable and formatted can be provided when sending a message and the ICAT message type is select accordingly (warning when requesting an unsupported combination and sending with default options).

image

In addition the mimetype is exposed so in Bliss you can do for example

DAU [2]: elog_print("<b>This text is bold</b>", mimetype="text/html")
DAU [3]: elog_print('<h1 style="color:Tomato;">Hello World</h1><p style="color:DodgerBlue;">Lorem ipsum...</p><p style="color:MediumSeaGreen;">Ut wisi enim...</p>', mimetype="text/html")
DAU [4]:

image

https://data.esrf.fr/investigation/1752907003/events

Edited by Wout De Nolf

Merge request reports

Loading