Skip to content

Commit 39a1ced

Browse files
committed
Fix the graph yaml generate bug
1 parent 757fcbd commit 39a1ced

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/graphscope/framework/utils.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -796,9 +796,9 @@ def PbDataType2InfoType(str):
796796
)
797797
with open(output_path, "w") as f:
798798
yaml.dump(info, f, Dumper=Dumper, default_flow_style=False)
799-
graph_info["edges"].append(
800-
r.source + "_" + edge_label + "_" + r.destination + ".edge.yml"
801-
)
799+
graph_info["edges"].append(
800+
r.source + "_" + edge_label + "_" + r.destination + ".edge.yml"
801+
)
802802
graph_info_path = os.path.join(path, graph_name + ".graph.yml")
803803
with open(graph_info_path, "w") as f:
804804
yaml.dump(graph_info, f, Dumper=Dumper, default_flow_style=False)

0 commit comments

Comments
 (0)