Commit 350827ff authored by Jiahang Chen's avatar Jiahang Chen
Browse files

fix dict key problem in subfeatures

parent 547b307c
Pipeline #526830 passed with stages
in 33 seconds
......@@ -205,6 +205,8 @@ 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("identifier")
if sub_f_name is None:
sub_f_name = sub_f.get("class")
_class_name = sub_f.get("class", "")
sub_f_obj = DT_FACTORY.get(remove_namespace(_class_name), None)
if sub_f_obj is None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment