Repository navigation
Add tableRemoveComments - #93
Merged
Merged
Conversation
erikrikarddaniel
approved these changes
Sep 29, 2026
erikrikarddaniel
left a comment
Member
There was a problem hiding this comment.
Reviewed with Claude Code.
A useful addition, and the test covers the new option on all four file types plus the new normalizeTable overloads.
Inline comments, none blocking:
- The docs and CHANGELOG say all
#lines are removed; the code removes only the comment lines at the top of the file. - Comments after the data are kept, e.g. the trailing block of HMMER
--tblout. - Dropping the extension check in
tableMD5changestableMD5Keysfor everyone, not only users of the new option; worth a CHANGELOG line.
Co-authored-by: Daniel Lundin <erik.rikard.daniel@gmail.com>
Co-authored-by: Daniel Lundin <erik.rikard.daniel@gmail.com>
maxulysse
approved these changes
Sep 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I just encountered a table where data are stored in a
.tbl.I managed to make the content stable but the header comments differ.
So here is a small update to remove comments (opt-in option).