From: rajdeep11 Date: Mon, 8 May 2023 08:34:09 +0000 (+0530) Subject: changes in the feature_group_names X-Git-Tag: 1.1.0~15 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=4980455ee7ac1e20767012e0f506a92772219eab;p=aiml-fw%2Fawmf%2Ftm.git changes in the feature_group_names Issue-Id: AIMLFW-40 Change-Id: Ic5980770016b35881e1f35a8b6a86161944034ce Signed-off-by: rajdeep11 --- diff --git a/trainingmgr/trainingmgr_main.py b/trainingmgr/trainingmgr_main.py index 3002067..c784140 100644 --- a/trainingmgr/trainingmgr_main.py +++ b/trainingmgr/trainingmgr_main.py @@ -1189,7 +1189,7 @@ def create_feature_group(): json_data=request.json (featureGroup_name, features, datalake_source, enable_Dme, dme_host, dme_port, bucket, token, source_name,db_org)=check_featureGroup_data(json_data) # the features are stored in string format in the db, and has to be passed as list of feature to the dme. Hence the conversion. - features_list = features.split(", ") + features_list = features.split(",") add_featuregroup(featureGroup_name, features, datalake_source, enable_Dme, PS_DB_OBJ,dme_host, dme_port, bucket, token, source_name,db_org ) if enable_Dme == True : response= create_dme_filtered_data_job(TRAININGMGR_CONFIG_OBJ, source_name, db_org, bucket, token, features_list, featureGroup_name, dme_host, dme_port) @@ -1311,7 +1311,7 @@ def get_feature_group_by_name(featuregroup_name): feature_group=[] if result: for res in result: - features=res[1].split(", ") + features=res[1].split(",") dict_data={ "featuregroup_name": res[0], "features": features,