diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2021-09-23 12:35:04 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2021-09-23 12:35:04 -0700 |
commit | 83cd586ea304d6f6aa190c65ee796baaba1941a7 (patch) | |
tree | 74bf8efcfb0a3d458767659d34ed3e58618f9d71 /sys/libbio/fasta.c | |
parent | 67c778d19c862218423a17f889401eaeb2ebfbb9 (diff) |
feat: improved interface of map macro
Diffstat (limited to 'sys/libbio/fasta.c')
-rw-r--r-- | sys/libbio/fasta.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/libbio/fasta.c b/sys/libbio/fasta.c index 078325a..0c47199 100644 --- a/sys/libbio/fasta.c +++ b/sys/libbio/fasta.c @@ -190,7 +190,7 @@ readfasta(bio·SeqReader *rdr, bio·Seq *seq, byte hdr, byte stop) { error err; byte *beg; - + if (rdr->eof && rdr->b == rdr->bend-1) return EOF; @@ -236,13 +236,6 @@ SEQLOOP: rdr->b++; } -#if 0 - for(byte *cb = rdr->seq->b+rdr->seq->off; cb != rdr->seq->it; ++cb) { - if(*cb == 0) { - printf("ERROR @ pos=%ld: Found zero byte\n", cb - rdr->seq->b+rdr->seq->off); - } - } -#endif push(&rdr->seq, rdr->b - beg, beg); |