Skip to content

Commit

Permalink
owvenndiagram: Remove casting to Table
Browse files Browse the repository at this point in the history
  • Loading branch information
lanzagar committed Jun 2, 2017
1 parent d9760e1 commit 329f8c4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Orange/widgets/visualize/owvenndiagram.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,11 +716,7 @@ def table_concat(tables):
domain = Orange.data.Domain(attributes, class_vars, metas)

tables = list(map(lambda tab: tab.transform(domain), tables))

# TODO: remove casting to Table when Corpus.concatenate becomes available
new_table = Orange.data.Table.from_table(domain,
Orange.data.Table.concatenate(tables, axis=0))
return new_table
return tables[0].concatenate(tables, axis=0)


def copy_descriptor(descriptor, newname=None):
Expand Down

0 comments on commit 329f8c4

Please sign in to comment.