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

decorators.py: Replace deprecated NetworkX is_string_like function #151

Merged
merged 1 commit into from
Feb 22, 2023

Conversation

EwoutH
Copy link
Contributor

@EwoutH EwoutH commented Feb 22, 2023

The is_string_like() method from networkx.utils was removed in NetworkX 3.0 (see networkx/networkx#5738). This commit changes this to the Python built-in function isinstance().

The is_string_like method from networkx.utils was removed in NetworkX 3.0. This commit changes this to the Python built-in function isinstance().
@EwoutH
Copy link
Contributor Author

EwoutH commented Feb 22, 2023

The CI now passes again :)

@codecov
Copy link

codecov bot commented Feb 22, 2023

Codecov Report

Merging #151 (f9d62c1) into master (9c2e360) will increase coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #151      +/-   ##
==========================================
+ Coverage   93.19%   93.33%   +0.13%     
==========================================
  Files          12       12              
  Lines        1470     1470              
==========================================
+ Hits         1370     1372       +2     
+ Misses        100       98       -2     
Impacted Files Coverage Δ
dynetx/classes/dyndigraph.py 91.69% <0.00%> (+0.19%) ⬆️
dynetx/algorithms/assortativity.py 96.29% <0.00%> (+0.92%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@GiulioRossetti GiulioRossetti merged commit 87fcbba into GiulioRossetti:master Feb 22, 2023
@EwoutH EwoutH mentioned this pull request Mar 2, 2023
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

2 participants