Skip to content

Commit 4ceb0bf

Browse files
authored
[Graphbolt] Modify preprocess_ondisk_dataset function. (dmlc#6019)
fix str2
1 parent fe8a8fc commit 4ceb0bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/dgl/graphbolt/impl/ondisk_dataset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,13 @@ def preprocess_ondisk_dataset(input_config_path: str) -> str:
120120
# 5. Save the CSCSamplingGraph and modify the output_config.
121121
output_config["graph_topology"] = {}
122122
output_config["graph_topology"]["type"] = "CSCSamplingGraph"
123-
output_config["graph_topology"]["path"] = (
123+
output_config["graph_topology"]["path"] = str(
124124
processed_dir_prefix / "csc_sampling_graph.tar"
125125
)
126126

127127
save_csc_sampling_graph(
128128
csc_sampling_graph,
129-
dataset_path / output_config["graph_topology"]["path"],
129+
str(dataset_path / output_config["graph_topology"]["path"]),
130130
)
131131
del output_config["graph"]
132132

0 commit comments

Comments
 (0)