Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KWH40
fml40-reference-implementation
Commits
75c5607f
Commit
75c5607f
authored
Oct 30, 2020
by
Jiahang Chen
Browse files
fix build feature bug
parent
0b910996
Changes
1
Hide whitespace changes
Inline
Side-by-side
ml/dt_factory.py
View file @
75c5607f
...
@@ -242,6 +242,8 @@ def build_feature(feature):
...
@@ -242,6 +242,8 @@ def build_feature(feature):
APP_LOGGER
.
debug
(
"Adding feature: %s"
%
feature_class_name
)
APP_LOGGER
.
debug
(
"Adding feature: %s"
%
feature_class_name
)
feature_instance
=
feature_obj
()
feature_instance
=
feature_obj
()
for
key
in
feature
.
keys
():
for
key
in
feature
.
keys
():
if
key
==
"class"
:
continue
if
key
==
"targets"
:
if
key
==
"targets"
:
build_sub_thing
(
feature_instance
,
feature
)
build_sub_thing
(
feature_instance
,
feature
)
elif
key
==
"subFeatures"
:
elif
key
==
"subFeatures"
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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