]> git.donarmstrong.com Git - samtools.git/commitdiff
* samtools-0.1.5-30 (r447)
authorHeng Li <lh3@live.co.uk>
Mon, 17 Aug 2009 08:34:57 +0000 (08:34 +0000)
committerHeng Li <lh3@live.co.uk>
Mon, 17 Aug 2009 08:34:57 +0000 (08:34 +0000)
 * fixed a bug in bam_aux_get(): 'A' is not checked

bam_aux.c
bamtk.c

index 6a82d9affb8e4d0341cf3ae26997e4e1bc72f594..d0d733fc467bfa9af7d2f032b83ffb47840ef18a 100644 (file)
--- a/bam_aux.c
+++ b/bam_aux.c
@@ -42,7 +42,6 @@ uint8_t *bam_aux_get(const bam1_t *b, const char tag[2])
        s = bam1_aux(b);
        while (s < b->data + b->data_len) {
                int x = (int)s[0]<<8 | s[1];
-               printf("%c%c\n", s[0], s[1]);
                s += 2;
                if (x == y) return s;
                __skip_tag(s);
diff --git a/bamtk.c b/bamtk.c
index ef0e052113b8ab7331cc084f4cc30bce6c59ce69..7150c78fb879d8125fd02be5528b731edc6d23fa 100644 (file)
--- a/bamtk.c
+++ b/bamtk.c
@@ -9,7 +9,7 @@
 #endif
 
 #ifndef PACKAGE_VERSION
-#define PACKAGE_VERSION "0.1.5-29 (r445)"
+#define PACKAGE_VERSION "0.1.5-30 (r447)"
 #endif
 
 int bam_taf2baf(int argc, char *argv[]);