Skip to content

Commit 25ace68

Browse files
committed
Add travis image and fix test
1 parent 9b8460b commit 25ace68

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
[![Build Status](https://travis-ci.org/dpryan79/lib2bit.svg?branch=master)](https://travis-ci.org/dpryan79/lib2bit)
12
A C library for accessing [2bit](https://genome.ucsc.edu/FAQ/FAQformat.html#format7) files. This is still a work in process. Note that functionality is mostly aimed at what will be needed in a python wrapper.

test/exampleRead.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ int main(int argc, char *argv[]) {
2222
if(seq) free(seq);
2323

2424
double *stats;
25-
stats = twobitFrequency(tb, "chr1", 0, 0, 1);
25+
stats = twobitBases(tb, "chr1", 0, 0, 1);
2626
assert(stats);
2727
for(i=0; i<4; i++) {
2828
printf("%"PRIu32"\t%f\n", i, stats[i]);
2929
}
3030
free(stats);
3131

32-
stats = twobitFrequency(tb, "chr1", 24, 74, 1);
32+
stats = twobitBases(tb, "chr1", 24, 74, 1);
3333
assert(stats);
3434
for(i=0; i<4; i++) {
3535
printf("%"PRIu32"\t%f\n", i, stats[i]);

0 commit comments

Comments
 (0)