graik / biskit

A Python platform for Structural Bioinformatics
http://biskit.pasteur.fr
Other
54 stars 20 forks source link

remove all dependencies on numpy.oldnumeric and ScientificPython #2

Closed graik closed 8 years ago

graik commented 8 years ago

Make Biskit compatible with latest numpy version.

This includes:

Scientific Python has the same numpy.oldnumeric problem just bigger and Konrad doesn't seem to want / have the time / to address it. Biskit relies on Scientific.IO.PDBFile for pdb file reading and writing. This part has been extracted and integrated into Biskit:

python test.py -e pvm exe

yields the following:

SUMMARY:
=======

A total of 112 tests from 117 modules were run.
   - 110 passed
   - 2 failed
      - error : Biskit.ProfileCollection.Test.test_concat
      - error : Biskit.PDBModel.Test.test_compareChains
DONE

The two test failures were already happening in the master branch (in fact, one third failure spontaneously disappeared during the numpy conversion). One additional failure seems to be specific to MacOSX. These 2 / 3 will be adressed on master.

I have not so far tested the full suite with third-party software installed. Code coverage of the "core" testing suite is reported with 55%.