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

Hypothesis VCF strategies #951

Closed
tomwhite opened this issue Nov 14, 2022 · 0 comments · Fixed by #971
Closed

Hypothesis VCF strategies #951

tomwhite opened this issue Nov 14, 2022 · 0 comments · Fixed by #971
Assignees
Labels
IO Issues related to reading and writing common third-party file formats process + tools

Comments

@tomwhite
Copy link
Collaborator

It would be useful to use Hypothesis to generate VCF files for testing vcf_to_zarr and the forthcoming zarr_to_vcf (#924) functions.

There is already test code in sgkit for generating VCF files, but currently this is only used to generate a static VCF file. It should be possible to repurpose the generator to use Hypothesis, which excels at finding tests cases humans don't think of.

It might be worth putting this in its own project at some point as it should be standalone and may be generally useful. (@ravwojdyla suggested something similar in #23.)

@tomwhite tomwhite added process + tools IO Issues related to reading and writing common third-party file formats labels Nov 14, 2022
@tomwhite tomwhite self-assigned this Nov 14, 2022
@tomwhite tomwhite mentioned this issue Dec 2, 2022
@mergify mergify bot closed this as completed in #971 Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO Issues related to reading and writing common third-party file formats process + tools
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant