From f86626292f7dc67048ef0110d9beda96be29e73d Mon Sep 17 00:00:00 2001 From: David Jones Date: Sun, 9 Sep 2018 10:28:06 +0100 Subject: [PATCH 1/2] Bump version and CHANGES.md --- CHANGES.md | 4 ++++ Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index f7b31ee..44c78ca 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # CHANGES +## 1.13.5 + +* Remove printf that causes all contigs to be printed to stderr. + ## 1.13.4 * Fix incorrect file path introduced in 1.13.3 diff --git a/Makefile b/Makefile index 48a6f7f..45051dd 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CAVEMAN_VERSION=1.13.4 +CAVEMAN_VERSION=1.13.5 TEST_REF?="" #Compiler CC?=gcc From 6a2b57f44a386a0c7b75993c1ff942140004e908 Mon Sep 17 00:00:00 2001 From: David Jones Date: Sun, 9 Sep 2018 10:28:28 +0100 Subject: [PATCH 2/2] Remove noisy printf statement --- src/fai_access.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/fai_access.c b/src/fai_access.c index 8277388..1b8c667 100644 --- a/src/fai_access.c +++ b/src/fai_access.c @@ -79,7 +79,6 @@ int fai_access_get_count_length_all_contigs(char *fa_loc, int *count, int *total while(fgets(rd, 1000, fai) != NULL){ check(rd != NULL,"Invalid line read\n"); *count = *count+1; - fprintf(stderr,"********** %s\n", rd); int chk = sscanf(rd,"%s\t%d\t%*d\t%*d\t%*d",chr_name,&length); check(chk == 2,"Wrong number of entries (%d) found in fasta index file line %s",chk,rd); *total_len += strlen(chr_name);