Skip to content

Commit 7eb3905

Browse files
committed
add filenames to run upload.
1 parent 89677bb commit 7eb3905

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openml/runs/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ def publish(self):
7979
"""
8080
predictions = arff.dumps(self._generate_arff())
8181
description_xml = self._create_description_xml()
82-
data = {'predictions': predictions, 'description':
83-
description_xml}
82+
data = {'predictions': ("predictions.csv", predictions),
83+
'description': ("description.xml", description_xml)}
8484
return_code, return_value = _perform_api_call(
8585
"/run/", file_elements=data)
8686
return return_code, return_value

0 commit comments

Comments
 (0)