Warnings from event creation are mangled from a string into a list of characters in JSON output
Warnings from event creation are renders as a ['l', 'i', 's', 't', ' ', 'o', 'f', ' ', 'c', 'h', 'a', 'r', 's']
rather than as a string
.
Here is an example using the attached coinc.xml file.
$ gracedb create event Test gstlal coinc.xml
{
"gpstime": null,
"superevent": null,
"far_is_upper_limit": false,
"search": null,
"group": "Test",
"created": "2020-04-15 14:08:32 UTC",
"links": {
"self": "https://gracedb.ligo.org/api/events/T370323",
"neighbors": "https://gracedb.ligo.org/api/events/T370323/neighbors/",
"labels": "https://gracedb.ligo.org/api/events/T370323/labels/",
"files": "https://gracedb.ligo.org/api/events/T370323/files/",
"tags": "https://gracedb.ligo.org/api/events/T370323/tag/",
"log": "https://gracedb.ligo.org/api/events/T370323/log/",
"emobservations": "https://gracedb.ligo.org/api/events/T370323/emobservation/"
},
"instruments": "",
"extra_attributes": {
"CoincInspiral": {
"false_alarm_rate": null,
"end_time_ns": null,
"end_time": null,
"mchirp": null,
"ifos": "",
"minimum_duration": null,
"combined_far": null,
"mass": null,
"snr": null
}
},
"offline": false,
"far": null,
"likelihood": null,
"submitter": "leo.singer@LIGO.ORG",
"labels": [],
"graceid": "T370323",
"pipeline": "gstlal",
"warnings": [
"C",
"o",
"u",
"l",
"d",
" ",
"n",
"o",
"t",
" ",
"e",
"x",
"t",
"r",
"a",
"c",
"t",
" ",
"c",
"o",
"i",
"n",
"c",
" ",
"i",
"n",
"s",
"p",
"i",
"r",
"a",
"l",
" ",
"t",
"a",
"b",
"l",
"e",
"."
],
"nevents": null
}