Make pyhf contrib download
be able to handle multiple compression types
#1519
Labels
contrib
Targeting pyhf.contrib and not the core of pyhf
feat/enhancement
New feature or request
help wanted
Extra attention is needed / contributions welcome
user request
Request coming form a pyhf user
Description
@alexander-held has pointed out that at the moment (
pyhf
v0.6.2
)pyhf contrib download
can't download the probability models for:.tar
archive).zip
archive)as they both don't have the models compressed as
tar.gz
. At the moment,pyhf contrib download
can only handle.tar.gz
pyhf/src/pyhf/contrib/utils.py
Lines 56 to 64 in cc7cf0f
but that should be expanded.
It is reasonable to have
pyhf contirb download
be more robust, but ti would also be helpful if HEPData archive uploads had a standardized archive compression format.cc @kratsg
The text was updated successfully, but these errors were encountered: