Skip to content

Check dimension sizes for named VCF Number fields #360

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 2 commits into
base: main
Choose a base branch
from

Conversation

tomwhite
Copy link
Contributor

Fixes #359

This handles Number=R and A, but G is harder. Before I look at that, I wanted to see what you thought about this approach @jeromekelleher?

@tomwhite tomwhite requested a review from jeromekelleher April 23, 2025 11:12
@coveralls
Copy link
Collaborator

coveralls commented Apr 23, 2025

Coverage Status

coverage: 97.882% (-0.09%) from 97.976%
when pulling 8158712 on tomwhite:check-named-dimensions-for-vcf-number
into d30940e on sgkit-dev:main.

@coveralls
Copy link
Collaborator

Coverage Status

coverage: 98.31% (-0.1%) from 98.414%
when pulling fa3199d on tomwhite:check-named-dimensions-for-vcf-number
into ac46a92 on sgkit-dev:main.

Copy link
Contributor

@jeromekelleher jeromekelleher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, I like it

@tomwhite tomwhite force-pushed the check-named-dimensions-for-vcf-number branch from fa3199d to 635cac1 Compare April 28, 2025 10:49
@tomwhite
Copy link
Contributor Author

I've re-written this so it's now stacked on #361

@tomwhite tomwhite force-pushed the check-named-dimensions-for-vcf-number branch from 2316e0a to 8f435e1 Compare April 28, 2025 11:50
@tomwhite tomwhite force-pushed the check-named-dimensions-for-vcf-number branch from 8f435e1 to 8158712 Compare April 29, 2025 13:15
@tomwhite
Copy link
Contributor Author

I've rebased this on main now that #361 is in

@jeromekelleher
Copy link
Contributor

Excellent, looks great. I guess we better get some test coverage on these error cases? (It's very tedious though)

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.

alt_alleles dimension is not picked up when max_number is zero
3 participants