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

Fix IndexError for export vcf #818

Merged
merged 1 commit into from
Jun 23, 2023
Merged

Fix IndexError for export vcf #818

merged 1 commit into from
Jun 23, 2023

Conversation

pwwang
Copy link
Contributor

@pwwang pwwang commented May 22, 2023

I'm not entirely sure why this occurred, but while working with SNP data, I attempted to export the outcomes to a VCF file, and it happened.

It appears that the 'bins.end' or 'bins.start' fields are empty Series. Assigning them to 'np.nan' seems to bypass the issue.

Copy link
Owner

@etal etal left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the fix!

@etal etal merged commit b6ebe49 into etal:master Jun 23, 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