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 MG katz_centrality: Check if DataFrame Arg is Not None #4555

Merged
merged 2 commits into from
Jul 30, 2024

Conversation

nv-rliu
Copy link
Contributor

@nv-rliu nv-rliu commented Jul 25, 2024

This PR recently introduced some API changes that broke test_katz_centrality_mg.py because it was using an improper method of trying to evaluate a cudf.DataFrame to a truth value.

This PR adds a fix to check if the nstart argument is set to None.

@nv-rliu nv-rliu requested a review from a team as a code owner July 25, 2024 21:25
@nv-rliu nv-rliu added bug Something isn't working non-breaking Non-breaking change labels Jul 25, 2024
@nv-rliu nv-rliu added this to the 24.08 milestone Jul 25, 2024
@rlratzel
Copy link
Contributor

/merge

@rlratzel
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit 94e60f0 into rapidsai:branch-24.08 Jul 30, 2024
137 of 138 checks passed
@nv-rliu nv-rliu deleted the fix-katz-centrality branch July 30, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants