diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2014-02-06 14:39:58 -0500 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2014-02-06 16:19:24 -0500 |
commit | 1c2ce90501d87db6431a7f29a37876d61347aff7 (patch) | |
tree | f7e03dc0f15d3ddaf28963056d1602e388a6effe /kmer_total_count.c | |
parent | 901126e37a92fc895fd23822713260a62d875f56 (diff) |
whoops, count even if it's zero
Diffstat (limited to 'kmer_total_count.c')
-rw-r--r-- | kmer_total_count.c | 8 |
1 files 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 { |