Workspace.prune
only accepts lists
#1684
Labels
bug
Something isn't working
needs-triage
Needs a maintainer to categorize and assign
user request
Request coming form a pyhf user
Summary
The docstring for
Workspace.prune
signals support forstr
arguments, but currently only lists are supported (tested for modifier types / samples / channels). This happens since_prune_and_rename
iterates over its arguments without enforcing conversion to lists first. Happy to provide a MR to fix this behavior if desired, or update the docstrings to require list arguments.OS / Environment
n/a
Steps to Reproduce
File Upload (optional)
No response
Expected Results
No exceptions raised.
Actual Results
pyhf Version
0.6.4.dev38
Code of Conduct
The text was updated successfully, but these errors were encountered: