Skip to content

Commit da11ea0

Browse files
committed
Addressing attribtue name and xml tag mismatch
1 parent 35743da commit da11ea0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openml/datasets/dataset.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,8 @@ def _to_xml(self):
690690

691691
for prop in props:
692692
content = getattr(self, prop, None)
693+
if prop == 'ignore_attributes':
694+
prop = "ignore_attribute"
693695
if content is not None:
694696
data_dict["oml:" + prop] = content
695697

0 commit comments

Comments
 (0)