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

Channels were not removed in the interpreter #16

Merged
merged 9 commits into from
Dec 12, 2024
Merged

Conversation

jackaraz
Copy link
Member

This PR updates WorkspaceInterpreter to fix a bug where the channels which are identified to be removed were not being removed.

Thanks to @Rav2 for pointing this out.

To install this particular branch use:

pip install git+https://github.com/SpeysideHEP/spey-pyhf/@bugfix-channelremove

@jackaraz jackaraz added the bug Something isn't working label Dec 12, 2024
@Rav2
Copy link

Rav2 commented Dec 12, 2024

I checked it and now it seems to work correctly. The resulting patch contains "remove" operations, and likelihoods are significantly different when channels are removed.

@jackaraz jackaraz marked this pull request as ready for review December 12, 2024 18:13
@jackaraz jackaraz merged commit d4fc001 into main Dec 12, 2024
1 check passed
@jackaraz jackaraz deleted the bugfix-channelremove branch December 12, 2024 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants