Sitelet https://github.com/gephi/gephi/pull/2795
Skip to content

Remove warning when 0 mutual edges removed - #2795

Merged
mbastian merged 1 commit into
gephi:masterfrom
pgdr:remove-0-warning
Aug 25, 2024
Merged

mbastian merged 1 commit into
gephi:masterfrom
pgdr:remove-0-warning

Conversation

@pgdr

@pgdr pgdr commented Apr 4, 2023

Copy link
Copy Markdown
Contributor

Description

Whenever we load an undirected graph from file, we get a warning that {0} mutual edges removed, even if it is actually 0 edges, meaning no mutual edges were removed.

gephi-0-warnings

I have added a check if (mutualEdgesRemoved != 0) prior to issuing the warning.

Now the warning does not show if 0 mutual edges removed.

Checklist

  • Merged with master beforehand

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed

Added to documentation?

  • 👍 README.md
  • 👍 API Changes
  • 👍 Additional documentation in docs
  • 👍 Relevant code documentation
  • 🙅 no, because they aren’t needed

@mbastian mbastian added this to the 0.11.0 milestone Aug 25, 2024
@mbastian
mbastian merged commit 1fcc375 into gephi:master Aug 25, 2024
@mbastian mbastian added the Import label Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants