Skip to content

Commit

Permalink
don't warn
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloLucibello committed Dec 25, 2024
1 parent e8b2d3d commit 9facb11
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9facb11

Please sign in to comment.