Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove warning when 0 mutual edges removed #2795

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pgdr
Copy link
Contributor

@pgdr pgdr commented Apr 4, 2023

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鈥檛 needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant