From 2703dfa9a4d90dd77949ee1fa6a5a83d217a8dd4 Mon Sep 17 00:00:00 2001 From: Rok Gomiscek Date: Fri, 19 Jun 2020 15:35:10 +0200 Subject: [PATCH] DiscreteVariable.values is a tuple --- orangecontrib/single_cell/widgets/load_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orangecontrib/single_cell/widgets/load_data.py b/orangecontrib/single_cell/widgets/load_data.py index 291d3670..3ae17c42 100644 --- a/orangecontrib/single_cell/widgets/load_data.py +++ b/orangecontrib/single_cell/widgets/load_data.py @@ -748,7 +748,7 @@ def key(var): metas=sorted(metas, key=key)) concat_data_t = concat_data.transform(domain) data_t = data.transform(domain) - source_var.values.append(source_name) + source_var.values + (source_name, ) data_t[:, source_var] = np.full( (len(data), 1), len(source_var.values) - 1, dtype=object )