Skip to content

Conversation

@jtb324
Copy link

@jtb324 jtb324 commented Jan 21, 2026

The change addresses issue #52. The parse_vcf_filepath function additionally checks if the file is empty. This function was already validating that the file exists so now it also validates that the file is not empty. If the file is empty than a message is logged and a ValueError is raises since the program assumes that the file should have content. This change just gives one more safe guard to the user to make sure everything is being behaving properly.

*Additionally ran the code through the black formatter to get consistent spacing and pythonic style

This has been tested on a Linux Ubuntu 24 LTS server with python 3.11

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.

1 participant