From 52a98b1e0ce3b710df4dcfc14a7ccf254e457782 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Wed, 27 Apr 2022 00:45:34 -0500 Subject: [PATCH] Deprecate git.io URL in README --- README.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index e2b2699c1d..002032dfa9 100644 --- a/README.rst +++ b/README.rst @@ -70,7 +70,8 @@ Alternatively the statistical model and observational data can be read from its >>> import pyhf >>> import requests >>> pyhf.set_backend("numpy") - >>> wspace = pyhf.Workspace(requests.get("https://git.io/JJYDE").json()) + >>> url = "https://raw.githubusercontent.com/scikit-hep/pyhf/HEAD/docs/examples/json/2-bin_1-channel.json" + >>> wspace = pyhf.Workspace(requests.get(url).json()) >>> model = wspace.model() >>> data = wspace.data(model) >>> test_mu = 1.0