Skip to content

Fix MG katz_centrality: Check if DataFrame Arg is Not None#4555

Merged
rapids-bot[bot] merged 2 commits intorapidsai:branch-24.08from
nv-rliu:fix-katz-centrality
Jul 30, 2024
Merged

Fix MG katz_centrality: Check if DataFrame Arg is Not None#4555
rapids-bot[bot] merged 2 commits intorapidsai:branch-24.08from
nv-rliu:fix-katz-centrality

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
@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