open-worm-analysis-toolbox
open-worm-analysis-toolbox copied to clipboard
Visible deprecation messages and duplicated functions
I start to received a lot of of VisibleDeprecationWarnings. In an effort to corrected I start to modify the locomotion_bends file and find that the functions h__getBendData and h__getBandwidth, are duplicated in LocomotionCrawlingBends and in CrawlingBend.
This not only increases the size of the code but gives the possibility of slowly degenerating the functions until they are not longer the same. I propose to merge this function into a new object call BendHelper and make it the parent of LocomotionCrawlingBends and CrawlingBend.
I did the modification already. If it is find for you I'll make a pull request.
@ver228 sounds great, feel free to do a PR and we can check it out.
@ver228 can you please submit the PR or close this issue? Thanks very much!