BioJulia / FASTX.jl

Parse and process FASTA and FASTQ formatted files of biological sequences.
https://biojulia.dev
MIT License
61 stars 20 forks source link

Fix zero-length copy #24

Closed jakobnissen closed 4 years ago

jakobnissen commented 4 years ago

A small change to avoid a BoundsError when trying to copy a FastaRecord with length-zero sequence to a sequence.

codecov[bot] commented 4 years ago

Codecov Report

Merging #24 into master will increase coverage by 0.03%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   83.26%   83.29%   +0.03%     
==========================================
  Files          13       13              
  Lines         496      497       +1     
==========================================
+ Hits          413      414       +1     
  Misses         83       83              
Flag Coverage Δ
#unittests 83.29% <100.00%> (+0.03%) :arrow_up:
Impacted Files Coverage Δ
src/fasta/record.jl 74.07% <100.00%> (+0.24%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 345e3e9...a39cd12. Read the comment docs.