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

Add non-redundant header entries as a list of name-value tuples #29

Open
jeromekelleher opened this issue Aug 6, 2024 · 0 comments
Open

Comments

@jeromekelleher
Copy link
Contributor

Rather than storing the entire header as a single string attribute, we should store all non-redundant header entries as a list of name,value tuples.

Non redundant here means not storing CONTIG, INFO, FILTER and FORMAT header entries as these are already fully encoded elsewhere.

We store the header metadata as a list of (name, value) tuples because there is no requirement that keys are unique. Header information SHOULD be stored in the same order that the items appear in the original header.

I think this is sufficient for lossless round-tripping.

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

No branches or pull requests

1 participant