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

feat: Use pyhf contrib download to get pallet from HEPData #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

matthewfeickert
Copy link

@matthewfeickert matthewfeickert commented Oct 26, 2020

This PR adds pyhf's contrib extra as a requirement, and stipulates a compatible release with pyhf v0.6.0 at the patch level of SemVer to ensure this API exists. It does so to take advantage of this to easily get the entire pyhf pallet from the central location of the published analysis HEPData repo. This places both the background only workspace JSON and the signal patchset in a user defined directory

# Example
$ pyhf contrib download --verbose https://doi.org/10.17182/hepdata.90607.v3/r3 1Lbb-pallet
1Lbb-pallet/patchset.json
1Lbb-pallet/README.md
1Lbb-pallet/BkgOnly.json

and ensures all requirements are available at runtime for submission to FuncX. Additionally use compatible release syntax with all requirements in requirements.txt.

@matthewfeickert
Copy link
Author

@BenGalewsky This is ready for review.

* Update to v0.6.0
* Use compatible release syntax to ensure stable APIs
* Allows for getting everything cleanly from central location of HEPData
  repo for published analysis.
* Adopt v0.6.0 infer API
@matthewfeickert matthewfeickert force-pushed the feat/use-pyhf-contrib-download branch from ca05bb1 to 98df1db Compare February 25, 2021 00:46
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