Skip to content

[query] Better error messages for unsupported types in export_vcf - #13682

Merged
danking merged 1 commit into
hail-is:mainfrom
chrisvittal:impex/export-vcf-better-errors
Sep 22, 2023
Merged

[query] Better error messages for unsupported types in export_vcf#13682
danking merged 1 commit into
hail-is:mainfrom
chrisvittal:impex/export-vcf-better-errors

Conversation

@chrisvittal

Copy link
Copy Markdown
Collaborator

No description provided.

@danking danking left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks great but let's add a couple python tests asserting the error message is better.

}
}
if (!invalid.isEmpty) {
fatal(invalid.mkString("\n"))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice improvement!

@danking
danking merged commit 0a76edd into hail-is:main Sep 22, 2023
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