Skip to content

Commit a5b6cfb

Browse files
mfeureramueller
authored andcommitted
FIX do not write qualities to disk each time they are accessed
1 parent 7b12fde commit a5b6cfb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openml/datasets/functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,8 @@ def _get_dataset_qualities(did_cache_dir, did):
417417
return_code, qualities_xml = _perform_api_call(
418418
"data/qualities/%d" % did)
419419

420-
with open(qualities_file, "w") as fh:
421-
fh.write(qualities_xml)
420+
with open(qualities_file, "w") as fh:
421+
fh.write(qualities_xml)
422422

423423
qualities = xmltodict.parse(qualities_xml)['oml:data_qualities']
424424

0 commit comments

Comments
 (0)