Skip to content

Support numerical and * (any) array subscripts for INFO fields #236

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tomwhite
Copy link
Contributor

Partial fix for #167

There are more types of indexing that can be added later

@jeromekelleher
Copy link
Contributor

Nice!

@tomwhite tomwhite marked this pull request as ready for review June 23, 2025 14:41
@tomwhite
Copy link
Contributor Author

@jeromekelleher are you happy for this to go in?

@jeromekelleher
Copy link
Contributor

Would be good to get a bit more test coverage if possible. What happens on out-of-bounds and other errors (is it the same as bcftools)? Check some other fields, with different types? Does this also apply to sample-dimensioned fields? I find there's usually something weird lurking when you try some odd corner cases with bcftools and you just have to poke them out.

@tomwhite
Copy link
Contributor Author

It looks like bcftools is lenient with indexes - so there's more work to do here.

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

Successfully merging this pull request may close these issues.

2 participants