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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix neighbor degree for directed graphs #4948

Merged
merged 4 commits into from Jul 7, 2021

Conversation

dschult
Copy link
Member

@dschult dschult commented Jun 30, 2021

Make average_neighbor_degree work for directed graphs, add tests and inline one function to simplify.

@dschult dschult added this to the networkx-2.6 milestone Jun 30, 2021
@dschult dschult changed the title Fix nbr degree Fix neighbor degree for directed graphs Jun 30, 2021
@jarrodmillman
Copy link
Member

Not sure what is going on yet. But it looks like circleci is not building our docs currently.

@dschult
Copy link
Member Author

dschult commented Jun 30, 2021

PR 4946 ran the circleCI hook without trouble. But that isn't a branch on my repo. Maybe all the PRs from my repo are giving trouble. I used to have circleCI as a hook on my repo. But I disabled the hook earlier this year because we thought it might be causing me trouble. There are no hooks appearing on the repo at the moment. Maybe I should check the circleCI side... but I don't know what to even check for there.

@dschult
Copy link
Member Author

dschult commented Jul 1, 2021

When I look at the NetworkX repo on circleci.com there is a report of all pipelines. You can select a branch to look at, and there are many to select from. None of the PRs I have opened are on that list (e.g. this one: 4948). The webhooks log on GitHub shows this pr creation event was sent to circleci at 17:07 on June 30 (my time I guess), and the “response” if very similar to the response for other PR creation events. But clearly circleci is handling it differently.

Anyway, I’m not sure why circleci doesn’t seem to have this pr branch on its list of branches to see the pipeline log.

@dschult
Copy link
Member Author

dschult commented Jul 1, 2021

OK.... Something changed -- though I can see many of you are active and creating "Actions" for circleci so I don't know if it is something someone else did. But the circleCI is now working after my latest push of a spurious commit.

I did log into circleci.com and stopped "following" networkx. While looking around to start that process I noticed that actions for circleci were being reported against github.com/dschult/networkx when I had made the previous pushes. That was why I stopped following networkx. I'm not sure what "following" does on circleci.com and I don't know if it is following my fork (dshcult/networkx) or the main repo (networkx/networkx).

Anyway, I hope it is all working now.

@dschult dschult force-pushed the fix_nbr_degree branch 2 times, most recently from 5d7b165 to dde8106 Compare July 2, 2021 02:21
@dschult dschult merged commit 9cef29e into networkx:main Jul 7, 2021
@dschult dschult deleted the fix_nbr_degree branch December 26, 2021 16:50
dschult added a commit to dschult/networkx that referenced this pull request Jan 25, 2022
* Deprecate k_nearest_neighbors and fix parts of neighbor degree functions

* Add tests for directed graphs fix errors in "degree"

* tweak text and names

* Remove comment lines of "obsolete code" at bottom of module
MridulS pushed a commit to MridulS/networkx that referenced this pull request Feb 4, 2023
* Deprecate k_nearest_neighbors and fix parts of neighbor degree functions

* Add tests for directed graphs fix errors in "degree"

* tweak text and names

* Remove comment lines of "obsolete code" at bottom of module
cvanelteren pushed a commit to cvanelteren/networkx that referenced this pull request Apr 22, 2024
* Deprecate k_nearest_neighbors and fix parts of neighbor degree functions

* Add tests for directed graphs fix errors in "degree"

* tweak text and names

* Remove comment lines of "obsolete code" at bottom of module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants