Skip to content

Commit

Permalink
Merge pull request #15 from dpryan79/fix14
Browse files Browse the repository at this point in the history
Fix14
  • Loading branch information
dpryan79 committed Mar 18, 2016
2 parents c020be8 + e8a629d commit a2c3a35
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libBigWig/bigWig.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
/*!
* The library version number
*/
#define LIBBIGWIG_VERSION 0.1.5
#define LIBBIGWIG_VERSION 0.1.6

/*!
* The magic number of a bigWig file.
Expand Down
2 changes: 1 addition & 1 deletion libBigWig/bwRead.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ static uint64_t readChromNonLeaf(bigWigFile_t *bw, chromList_t *cl, uint32_t key
if(bwRead((void*) &nVals, sizeof(uint16_t), 1, bw) != 1) return -1;

//These aren't actually used for anything, we just skip to the next block...
offset = nVals * (keySize + 8) + bw->URL->filePos + bw->URL->bufPos;
offset = nVals * (keySize + 8) + bwTell(bw);

if(bwSetPos(bw, offset)) return -1;
return readChromBlock(bw, cl, keySize);
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
include_dirs = ['libBigWig', sysconfig.get_config_var("INCLUDEPY")])

setup(name = 'pyBigWig',
version = '0.2.6',
version = '0.2.7',
description = 'A package for accessing bigWig files using libBigWig',
author = "Devon P. Ryan",
author_email = "[email protected]",
url = "https://github.com/dpryan79/pyBigWig",
download_url = "https://github.com/dpryan79/pyBigWig/tarball/0.2.5",
download_url = "https://github.com/dpryan79/pyBigWig/tarball/0.2.7",
keywords = ["bioinformatics", "bigWig"],
classifier = ["Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand Down

0 comments on commit a2c3a35

Please sign in to comment.