Skip to content

Conversation

@janjoswig
Copy link

This makes the package compatible with Python 3. I changed the following:

  • Use of dict.items() instead of dict.iteritems() (same for keys and values)
  • Subgraphs are now not "freezed" anymore when using a more recent version of networkx (solves issue NetworkXError: SubGraph Views are readonly. Mutations not allowed #67 )
  • Explicite use of "latin1" encoding when unpickling with load_tree
  • Use of assertCountEqual instead of assertItemsEqual in the tests
  • Use of list() to exhaust map generator and to convert dict.values to NumPy array

All tests pass (with Python 3.8) and the quickstart example from the documentation works as expected.

mjp-ua added a commit to mjp-ua/HDBSCAN_DeBaCl_APT_V2_Public that referenced this pull request Jan 20, 2021
Added updates to Matlab code to use anaconda 3 rather than standalone python. Allows for ease of updating packages instead of using older python

Also requires update to DeBaCl which can be found here CoAxLab/DeBaCl#69
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.

1 participant