Skip to content

Commit 3bfac1b

Browse files
add default val
1 parent c3f0760 commit 3bfac1b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Orange/widgets/data/owmergedata.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -370,11 +370,11 @@ def _join_table_by_indices(self, reduced_extra, indices):
370370
metas = self._join_array_by_indices(
371371
self.data.metas, reduced_extra.metas, indices, string_cols)
372372
table = Orange.data.Table.from_numpy(domain, X, Y, metas)
373-
table.name = getattr(self.data, 'name')
374-
table.attributes = getattr(self.data, 'attributes')
375-
table.ids = getattr(self.data, 'ids')
376-
return table
377-
373+
table.name = getattr(self.data, 'name', '')
374+
table.attributes = getattr(self.data, 'attributes', '')
375+
table.ids = self.data.ids
376+
return table
377+
378378
@staticmethod
379379
def _join_array_by_indices(left, right, indices, string_cols=None):
380380
"""Join (horizontally) two arrays, taking pairs of rows given in indices

0 commit comments

Comments
 (0)