We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17657ab commit 40799f9Copy full SHA for 40799f9
1 file changed
openml/flows/flow.py
@@ -1,6 +1,7 @@
1
from collections import OrderedDict
2
import os
3
from typing import Dict, List, Union # noqa: F401
4
+import logging
5
6
import xmltodict
7
@@ -223,6 +224,10 @@ def _to_dict(self) -> dict:
223
224
_add_if_nonempty(flow_dict, 'oml:{}'.format(attribute),
225
getattr(self, attribute))
226
227
+ if not self.description:
228
+ logger = logging.getLogger(__name__)
229
+ logger.warn("Flow % has empty description", self.name)
230
+
231
flow_parameters = []
232
for key in self.parameters:
233
param_dict = OrderedDict() # type: 'OrderedDict[str, str]'
0 commit comments