Skip to content

Commit

Permalink
Merge pull request #378 from rokgomiscek/discreteVarTuple
Browse files Browse the repository at this point in the history
DiscreteVariable.values is a tuple
  • Loading branch information
JakaKokosar authored Aug 24, 2020
2 parents 0b78281 + 2703dfa commit 80585b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orangecontrib/single_cell/widgets/load_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 80585b6

Please sign in to comment.