aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kmer_total_count.c8
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 {