KatolaZ / multired

Algorithm for structural reduction of multi-layer networks
22 stars 15 forks source link

Support for Python 3.x #5

Open GiulioRossetti opened 5 months ago

GiulioRossetti commented 5 months ago

Hi, I was using your package for a project, and since it was originally developed for Python 2.7, I decided to add support to more recent versions (3.x).

In the meantime, I fixed a few issues (i.e., checks for None made with equality rather than using the "is" operator) and restructured the package to make it pip installable.

pip install git+https://github.com/KatolaZ/multired

I also refactored the tests in a single unittest (without assert statements).

I slightly updated the readme as well, however please double check it 😁

Best, Giulio