diff --git a/nodes/Topologic/GraphExportToCSV_NC.py b/nodes/Topologic/GraphExportToCSV_NC.py index 76d641c..2b23e63 100644 --- a/nodes/Topologic/GraphExportToCSV_NC.py +++ b/nodes/Topologic/GraphExportToCSV_NC.py @@ -168,11 +168,10 @@ def processItem(item): edge_features = "" edge_features_keys = Replication.flatten(edge_features_keys) for edge_feature_key in edge_features_keys: - if edge_feature_key.strip(",;.") != '': - if len(edge_features) > 0: - edge_features = edge_features + ","+ str(round(float(DictionaryValueAtKey.processItem([ed, edge_feature_key])),5)) - else: - edge_features = str(round(float(DictionaryValueAtKey.processItem([ed, edge_feature_key])),5)) + if len(edge_features) > 0: + edge_features = edge_features + ","+ str(round(float(DictionaryValueAtKey.processItem([ed, edge_feature_key])),5)) + else: + edge_features = str(round(float(DictionaryValueAtKey.processItem([ed, edge_feature_key])),5)) edge_feat.append(edge_features) print("EDGE_GRAPH_ID",edge_graph_id) data = [edge_graph_id, edge_src, edge_dst, edge_lab, edge_feat]