pik-copan / pyunicorn

Unified Complex Network and Recurrence Analysis Toolbox
http://pik-potsdam.de/~donges/pyunicorn/
Other
195 stars 87 forks source link

Clean up experimental, deprecated and redundant code #40

Closed ntfrgl closed 3 days ago

ntfrgl commented 9 years ago

Needs to be done before first public release. Some of this code that may be useful at some point should be moved to some kind of plug-in container classes.


Originally reported by: Jonathan Donges Originally created on: 2014-06-17

ntfrgl commented 9 years ago

To be removed:


Original comment by: ntfrgl Original comment on: 2014-06-25

ntfrgl commented 9 years ago

Some of these functions could be used as consistency checks in the test suite.

fkuehlein commented 2 months ago

The above mentioned methods have been remove from Network and many more such cleanups have been made as of v0.7.0. Still, the issue continues to apply.

fkuehlein commented 1 month ago

Here's a list of methods that are currently not covered by tests and contain especially many lines and/or appear to be unused or redundant. Most of this code is marked as experimental. For the sake of test coverage and to streamline the package it should either be tested or removed, especially those methods that contain most lines of code.

Of course, adding tests would be the preferable option, but might reveal unnoticed bugs (e.g. as with #229) and for the listed methods especially I am often lacking the theoretical background to understand what they should do. Therefore we should first review whether this code is even still wanted/needed.

Note that there are still many more uncovered methods in the package, including some very low hanging fruits.