From 4fe497fe954b0398f18a3eeef21514b895320771 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Wed, 30 Nov 2022 11:13:32 -0500 Subject: [PATCH] Bug in color parameter parsing... --- lib/galaxy/tools/parameters/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/tools/parameters/basic.py b/lib/galaxy/tools/parameters/basic.py index be1ed9002c0d..eda07c0503fd 100644 --- a/lib/galaxy/tools/parameters/basic.py +++ b/lib/galaxy/tools/parameters/basic.py @@ -833,7 +833,7 @@ def __init__(self, tool, input_source): input_source = ensure_input_source(input_source) super().__init__(tool, input_source) self.value = input_source.get("value", "#000000") - self.rgb = input_source.get("rgb", False) + self.rgb = input_source.get_bool("rgb", False) def get_initial_value(self, trans, other_values): if self.value is not None: