Skip to content

Commit 8eb49a0

Browse files
committed
Cleaning code
1 parent e57a21b commit 8eb49a0

1 file changed

Lines changed: 0 additions & 25 deletions

File tree

openml/study/study.py

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -263,31 +263,6 @@ def __init__(
263263
setups=setups,
264264
)
265265

266-
# def __str__(self):
267-
# object_dict = self.__dict__
268-
# output_str = ''
269-
# id = '\n%-16s: %s\n' % ("ID", object_dict['id'])
270-
# name = '%-16s: %s\n' % ("Name", object_dict['name'])
271-
# status = '%-16s: %s\n' % ("Status", object_dict['status'])
272-
# main_entity_type = '%-16s: %s\n' % ("Main Entity Type", object_dict['main_entity_type'])
273-
# url = 'https://www.openml.org/s/' + str(object_dict['id'])
274-
# url = '%-16s: %s\n' % ("Study URL", url)
275-
# data = ''
276-
# if object_dict['data'] is not None:
277-
# data = '%-16s: %s\n' % ("# of Data", len(object_dict['data']))
278-
# tasks = ''
279-
# if object_dict['tasks'] is not None:
280-
# tasks = '%-16s: %s\n' % ("# of Tasks", len(object_dict['tasks']))
281-
# flows = ''
282-
# if object_dict['flows'] is not None:
283-
# flows = '%-16s: %s\n' % ("# of Flows", len(object_dict['flows']))
284-
# runs = ''
285-
# if object_dict['runs'] is not None:
286-
# runs = '%-16s: %s\n' % ("# of Runs", len(object_dict['runs']))
287-
# output_str = id + name + status + main_entity_type + url + data + \
288-
# tasks + flows + runs
289-
# return(output_str)
290-
291266

292267
class OpenMLBenchmarkSuite(BaseStudy):
293268

0 commit comments

Comments
 (0)