diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2014-02-06 14:39:58 -0500 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2014-02-06 14:39:58 -0500 |
commit | 7f26fe91cac4760cddc845d0e38f077ed8f7577e (patch) | |
tree | 4846f3bde8175c22a8abfae3af1b4b1c6630d106 | |
parent | 67fd78612f3d7be776e6a49c424f299bb839abae (diff) |
whoops, count even if it's zerojit
-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 { |