From f96076277fb60ab16f72d31f686c5dc6a535971f Mon Sep 17 00:00:00 2001 From: John Hoffer Date: Fri, 9 Apr 2021 13:28:51 -0400 Subject: [PATCH] convert omero channels force lowercase --- src/convert_omero_channels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/convert_omero_channels.py b/src/convert_omero_channels.py index f8424e8..aef7ba4 100644 --- a/src/convert_omero_channels.py +++ b/src/convert_omero_channels.py @@ -14,8 +14,8 @@ def make_channel(ch_key, ch): print(f'Skipping channel: "{ch_key}" is not an integer') return {} return { - "color": ch['color'], "label": ch['label'], + "color": ch['color'].lower(), "min": ch['start'] / ch['max'], "max": ch['end'] / ch['max'], "id": ch_id,