Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KWH40
fml40-reference-implementation
Commits
b860b27a
Commit
b860b27a
authored
May 01, 2021
by
Jiahang Chen
Browse files
fix log output
parent
9b1d8946
Pipeline
#458440
passed with stages
in 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ml/dt_factory.py
View file @
b860b27a
...
...
@@ -193,11 +193,12 @@ def build_sub_features(feature_ins, feature):
sub_f_name
=
sub_f
.
get
(
"name"
)
if
sub_f_name
is
None
:
sub_f_name
=
sub_f
.
get
(
"class"
,
""
)
sub_f_obj
=
DT_FACTORY
.
get
(
remove_namespace
(
sub_f
.
get
(
"class"
,
""
)),
None
)
_class_name
=
sub_f
.
get
(
"class"
,
""
)
sub_f_obj
=
DT_FACTORY
.
get
(
remove_namespace
(
_class_name
),
None
)
if
sub_f_obj
is
None
:
APP_LOGGER
.
critical
(
"Subfeature: %s is missing"
%
sub_f
_name
)
APP_LOGGER
.
critical
(
"Subfeature: %s is missing"
%
_class
_name
)
else
:
APP_LOGGER
.
info
(
"Adding subfeature: %s"
%
sub_f
_name
)
APP_LOGGER
.
info
(
"Adding subfeature: %s"
%
_class
_name
)
sub_f_instance
=
sub_f_obj
()
for
key
in
sub_f
.
keys
():
if
key
==
"targets"
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment