From 6e02fd5463108fe0f5903c122a63a5f87e32e0fb Mon Sep 17 00:00:00 2001 From: Alexandria Barghi Date: Wed, 11 May 2022 14:28:31 +0000 Subject: [PATCH] fix style --- python/cugraph/cugraph/traversal/sssp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/cugraph/cugraph/traversal/sssp.py b/python/cugraph/cugraph/traversal/sssp.py index 53a5bfb84ed..b842dae7c88 100644 --- a/python/cugraph/cugraph/traversal/sssp.py +++ b/python/cugraph/cugraph/traversal/sssp.py @@ -54,7 +54,7 @@ def _ensure_args(G, source, method, directed, raise TypeError(exc_value % "unweighted") if overwrite is not None: raise TypeError(exc_value % "overwrite") - + # Ensure source vertex is valid if is_nx_graph_type(G_type) and source not in G: raise ValueError(f"Vertex {source} is not valid for the Graph")