Skip to content

Commit

Permalink
Use 'pyhf contrib download' API to reinforce contrib nature
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Sep 11, 2020
1 parent ecdb01d commit 32e35be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/pyhf/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,4 @@ def pyhf():

pyhf.add_command(complete.cli)

# pyhf.add_command(contrib.cli)
pyhf.add_command(contrib.download)
pyhf.add_command(contrib.cli)
4 changes: 2 additions & 2 deletions src/pyhf/cli/contrib.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

@click.group(name="contrib")
def cli():
"""Contrib CLI group."""
"""Contrib experimental operations"""


@cli.command()
Expand All @@ -33,7 +33,7 @@ def download(archive_url, output_directory, verbose, force):
.. code-block:: shell
$ pyhf download --verbose https://www.hepdata.net/record/resource/1408476?view=true 3L-likelihood
$ pyhf contrib download --verbose https://www.hepdata.net/record/resource/1408476?view=true 3L-likelihood
\b
3L-likelihoods/patchset.json
Expand Down

0 comments on commit 32e35be

Please sign in to comment.