seqan / seqan3

The modern C++ library for sequence analysis. Contains version 3 of the library and API docs.
https://www.seqan.de
Other
411 stars 82 forks source link

[MISC] Improve error message when using kmer_hash_view with invalid shapes #3244

Closed eseiler closed 8 months ago

eseiler commented 8 months ago

Related to #3242 and #3243

Example output:

terminate called after throwing an instance of 'std::invalid_argument'
  what():  The shape is too long for the given alphabet.
Alphabet: seqan3::dna4
Maximum shape count: 32
Given shape count: 33
Aborted
vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
seqan3 ✅ Ready (Inspect) Visit Preview Feb 28, 2024 11:50am
codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.17%. Comparing base (3e63456) to head (79ea4ae).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3244 +/- ## ======================================= Coverage 98.17% 98.17% ======================================= Files 269 269 Lines 11856 11868 +12 ======================================= + Hits 11640 11652 +12 Misses 216 216 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.