VDBWRAIR / samtools

GNU General Public License v2.0
0 stars 0 forks source link

Py 3 & Py 2.6 Fixes #3

Closed averagehat closed 9 years ago

averagehat commented 9 years ago

closes #1 Also added all python versions to .travis.yml

necrolyte2 commented 9 years ago

I think you need the following in order for coveralls to work otherwise travis has nothing to submit to coveralls

nosetests tests --with-coverage --cover-erase --cover-package=samtools
coveralls commented 9 years ago

Coverage Status

Coverage remained the same at 84.87% when pulling d2c2cb9b7361d17d8209aca7a92c8ba05409c9fc on dev into c86ee7293c47f4a58715f95dd3b4b6b254c11ecf on master.

necrolyte2 commented 9 years ago

Try putting all the module files in a package directory

mkdir -p samtools
touch samtools/__init__.py
mv {bqd,samtools,bam_to_qualdepth,bam,plan}.py samtools

You will have to modify tests and such to reference the new path, but in general when a project contains more than 1 source file it is usually better to have a directory instead.