Skip to content

Use gzip module to check the magic number of inputs#79

Open
gmauro wants to merge 2 commits intoMRCIEU:masterfrom
ht-diva:magic_number
Open

Use gzip module to check the magic number of inputs#79
gmauro wants to merge 2 commits intoMRCIEU:masterfrom
ht-diva:magic_number

Conversation

@gmauro
Copy link
Copy Markdown

@gmauro gmauro commented Mar 11, 2023

This pr use the gzip module to check if the input file is gzip compressed or not and, treat it accordingly.
This fixes the situation when you have a different file extension from .gz (e.g. .bgz)

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