Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct ensure_buffered_data #29

Merged
merged 4 commits into from Jul 25, 2023

Conversation

CiaranOMara
Copy link
Member

The read_blocks! function does not necessarily fill/overwrite blocks till lastindex(stream.blocks), we need to ensure stream.block_index does not increment past the index of the last loaded block.

@codecov
Copy link

codecov bot commented Apr 20, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.80 🎉

Comparison is base (51af9df) 92.56% compared to head (6bc27f9) 93.37%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   92.56%   93.37%   +0.80%     
==========================================
  Files           2        3       +1     
  Lines         296      302       +6     
==========================================
+ Hits          274      282       +8     
+ Misses         22       20       -2     
Flag Coverage Δ
unittests 93.37% <100.00%> (+0.80%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/bgzfstream.jl 92.72% <100.00%> (+0.87%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

It appears that the number of threads allowed in CI is capped at 2.
Displays the number of threads in used when testing.
The `read_blocks!` function does not necessarily fill/overwrite blocks till `lastindex(stream.blocks)`, we need to ensure `stream.block_index` does not increment past the index of the last loaded block.
@CiaranOMara
Copy link
Member Author

The downstream error in Geneticvariation.jl is related to minhash, not BGZFStreams.jl.

@CiaranOMara CiaranOMara merged commit bf71956 into BioJulia:master Jul 25, 2023
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant