Skip to content

Instantly share code, notes, and snippets.

@lukasheinrich
Created September 7, 2022 20:32
Show Gist options
  • Save lukasheinrich/a7f23b71cf048727ca9012f5f6ea940a to your computer and use it in GitHub Desktop.
Save lukasheinrich/a7f23b71cf048727ca9012f5f6ea940a to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@matthewfeickert
Copy link

matthewfeickert commented Sep 26, 2022

@lukasheinrich I'm not sure how current this still is, but if this is the most up to date draft we need to update it to work with pyhf v0.7.0 as this currently fails to run (just need to add the self.is_shared).

edit: I've patched this on my fork. We can't make PRs to Gists, but you can do the following:

git remote add matthewfeickert git@gist.github.com:6fdd0e06c4a224edeca041cb0851e754.git
git fetch --all
git show matthewfeickert/main  # See what I did before merge
git merge matthewfeickert/main
git push origin HEAD
git remote remove matthewfeickert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment