-
Notifications
You must be signed in to change notification settings - Fork 82
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
[FIX] Write BAM header on sam_file deconstruction if not written before #3081
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #3081 +/- ##
=========================================
Coverage ? 98.24%
=========================================
Files ? 276
Lines ? 12361
Branches ? 0
=========================================
Hits ? 12144
Misses ? 217
Partials ? 0
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
This time appliable :)
Previous review was on first commit
GCC 10 doesn't have |
Added a commit for using |
There are two ope suggestions for code comments. After that, we could rebase? :D |
77648fc
to
9632dd7
Compare
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.
LGFM, just one little thing I stumbled across. But it's not very important.
8099dfe
to
fe51c42
Compare
Resolves #2497
Now, just opening a
seqan3::sam_file_output
, e.g. :seqan3::sam_file_output fout{"test.sam"};
will trigger writing a minimal header on deconstruction.
This also has the implication that
will always raise an exception because without reference information no header can be written.
Reference information must be provided, e.g. via
or records must be pushed that have a header available, as is the case when piping