Skip to content

Commit

Permalink
change format
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Oct 15, 2024
1 parent 9d53bca commit 7202d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/dgl/distributed/partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def load_partition(part_config, part_id, load_feats=True, use_graphbolt=False):
# Check if both DGL graph and GraphBolt graph exist or not exist. Make sure only one exists.
if not exist_dgl_graph and not exist_graphbolt_graph:
raise ValueError("The graph object doesn't exist.")
elif exist_dgl_graph and exist_graphbolt_graph:
if exist_dgl_graph and exist_graphbolt_graph:
raise ValueError(
"Both DGL graph and GraphBolt graph exist. Please remove one."
)
Expand Down

0 comments on commit 7202d44

Please sign in to comment.