diff --git a/Orange/widgets/data/owmergedata.py b/Orange/widgets/data/owmergedata.py index 6d13a59dd1d..2b1796f2d12 100644 --- a/Orange/widgets/data/owmergedata.py +++ b/Orange/widgets/data/owmergedata.py @@ -370,11 +370,11 @@ def _join_table_by_indices(self, reduced_extra, indices): metas = self._join_array_by_indices( self.data.metas, reduced_extra.metas, indices, string_cols) table = Orange.data.Table.from_numpy(domain, X, Y, metas) - table.name = getattr(self.data, 'name') - table.attributes = getattr(self.data, 'attributes') - table.ids = getattr(self.data, 'ids') - return table - + table.name = getattr(self.data, 'name', '') + table.attributes = getattr(self.data, 'attributes', {}) + table.ids = self.data.ids + return table + @staticmethod def _join_array_by_indices(left, right, indices, string_cols=None): """Join (horizontally) two arrays, taking pairs of rows given in indices