Closed HubLot closed 8 years ago
@HubLot I'm not a big fan of keeping legacy functionalities. Could we instead modify the file dev_requirements.txt to require MDAnalysis >= 0.11? That would be much easier. An extra check of the MDAnalysis version in the code would also strengthen the thing.
I am usually in favour of keeping compatibility with the penultimate version of a library. Yet, in this case I would go with @pierrepo :
We could get a compatibility tweak with import tricks and Monckey patching. But if we have this, then it should be marked right away as deprecated and come with an expiration date.
cc @HubLot
Okay guys, you are right :) Let's support only versions >= 0.11 I will modify the dev_requirements.txt and README. It will be added also in the setup.py once PBxplore is packaged
Hi,
With the commit 48bc2bdd and MDAnalysis version 0.10, I have the following error :
This is due to a change in the API of MDAnalysis in their last version (0.11): https://github.com/MDAnalysis/mdanalysis/wiki/MDAnalysis-0.11-unifying-release-user-guide The method
selectAtoms
in version < 0.11 becomeselect_atoms
with versions >= 0.11I think we need to support both versions since the 0.11 is really new. I will make a PR in that sense