From 9facb117b12399cb25bf346bfbbf45f6160b5b7a Mon Sep 17 00:00:00 2001 From: Carlo Lucibello Date: Wed, 25 Dec 2024 07:49:00 +0100 Subject: [PATCH] don't warn --- src/interface.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/interface.jl b/src/interface.jl index 61b9e41..c7f8aba 100644 --- a/src/interface.jl +++ b/src/interface.jl @@ -36,15 +36,15 @@ function pygdata_to_gnngraph(data) @assert all(1 .<= src) if !all(src .<= num_nodes) n = maximum(src) - @warn lazy"Found node index $n in edge index `src`, but only $num_nodes nodes in the graph. - Updating num_nodes to $n. This message won't be displayed again." maxlog=1 + # @warn lazy"Found node index $n in edge index `src`, but only $num_nodes nodes in the graph. + # Updating num_nodes to $n. This message won't be displayed again." maxlog=1 num_nodes = n end @assert all(1 .<= dst) if !all(dst .<= num_nodes) n = maximum(dst) - @warn lazy"Found node index $n in edge index `dst`, but only $num_nodes nodes in the graph. - Updating num_nodes to $n. This message won't be displayed again." maxlog=1 + # @warn lazy"Found node index $n in edge index `dst`, but only $num_nodes nodes in the graph. + # Updating num_nodes to $n. This message won't be displayed again." maxlog=1 num_nodes = n end