From 7f26fe91cac4760cddc845d0e38f077ed8f7577e Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Thu, 6 Feb 2014 14:39:58 -0500 Subject: whoops, count even if it's zero --- kmer_total_count.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/kmer_total_count.c b/kmer_total_count.c index a78e8fe..6b627f2 100644 --- a/kmer_total_count.c +++ b/kmer_total_count.c @@ -140,11 +140,9 @@ int main(int argc, char **argv) { else { if(label) { for(i = 0; i < width; i++) { - if(counts[i] != 0) { - char *kmer_str = index_to_kmer(i, kmer); - fprintf(stdout, "%s\t%llu\n", kmer_str, counts[i]); - free(kmer_str); - } + char *kmer_str = index_to_kmer(i, kmer); + fprintf(stdout, "%s\t%llu\n", kmer_str, counts[i]); + free(kmer_str); } } else { -- cgit v1.2.3