File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 2222from . import runs
2323from . import flows
2424from . import setups
25+ from . import study
2526from . import evaluations
2627from .runs import OpenMLRun
2728from .tasks import OpenMLTask , OpenMLSplit
Original file line number Diff line number Diff line change @@ -533,7 +533,7 @@ def _serialize_cross_validator(o):
533533 for key in args :
534534 # We need deprecation warnings to always be on in order to
535535 # catch deprecated param values.
536- # This is set in utils/__init__.py but it gets overwritten
536+ # This is set in utils/__init__.py.py.py but it gets overwritten
537537 # when running under python3 somehow.
538538 warnings .simplefilter ("always" , DeprecationWarning )
539539 try :
Original file line number Diff line number Diff line change @@ -27,9 +27,11 @@ def get_study(study_id):
2727 creator = result_dict ['oml:creator' ]
2828 tags = []
2929 for tag in _multitag_to_list (result_dict , 'oml:tag' ):
30- tags .append ({'name' : tag ['oml:name' ],
31- 'window_start' : tag ['oml:window_start' ],
32- 'write_access' : tag ['oml:write_access' ]})
30+ current_tag = {'name' : tag ['oml:name' ],
31+ 'write_access' : tag ['oml:write_access' ]}
32+ if 'oml:window_start' in tag :
33+ current_tag ['window_start' ] = tag ['oml:window_start' ]
34+ tags .append (current_tag )
3335
3436 datasets = None
3537 tasks = None
You can’t perform that action at this time.
0 commit comments