-
Notifications
You must be signed in to change notification settings - Fork 2
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
[FEATURE] Add data_store::validate #230
Conversation
Documentation preview available at https://docs.seqan.de/preview/seqan/hibf/230 |
4dd58ff
to
4522c28
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #230 +/- ##
=======================================
Coverage 99.63% 99.63%
=======================================
Files 50 51 +1
Lines 1915 1930 +15
Branches 5 5
=======================================
+ Hits 1908 1923 +15
Misses 7 7 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tiny add ons
src/layout/hierarchical_binning.cpp
Outdated
@@ -40,7 +39,8 @@ size_t hierarchical_binning::execute() | |||
|
|||
if (!config.disable_estimate_union && !config.disable_rearrangement) | |||
{ | |||
assert(data->sketches != nullptr); | |||
if (data->sketches == nullptr) | |||
throw std::invalid_argument{"[HIBF ERROR] data_store::sketches must not be nullptr."}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
throw std::invalid_argument{"[HIBF ERROR] data_store::sketches must not be nullptr."}; | |
throw std::invalid_argument{"[HIBF ERROR] data_store::sketches must not be nullptr is union estimation or rearrangement is enabled."}; |
4522c28
to
8d6defe
Compare
8d6defe
to
273f7f4
Compare
@eseiler Do we want to keep the commits? Seems sensible but you have the last call. |
Part 1 of #227