Tests failing locally: NotADirectoryError #1514
-
I recently started exploring I am using I've also tried running the tests with Trace:└─$ python3 -m pytest
========================================================================================== test session starts ==========================================================================================platform linux -- Python 3.9.2, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /mnt/c/Users/Saransh/Saransh_softwares/OpenSource/Python/pyhf, configfile: pyproject.toml, testpaths: src, tests
plugins: cov-2.12.1
collected 1387 items / 56 errors / 1331 selected
================================================================================================ ERRORS =================================================================================================_________________________________________________________________________________ ERROR collecting src/pyhf/_version.py _________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/_version.py'
__________________________________________________________________________________ ERROR collecting src/pyhf/compat.py __________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/compat.py'
_______________________________________________________________________________ ERROR collecting src/pyhf/constraints.py ________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/constraints.py'
__________________________________________________________________________________ ERROR collecting src/pyhf/events.py __________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/events.py'
__________________________________________________________________________________ ERROR collecting src/pyhf/mixins.py __________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/mixins.py'
_________________________________________________________________________________ ERROR collecting src/pyhf/patchset.py _________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/patchset.py'
___________________________________________________________________________________ ERROR collecting src/pyhf/pdf.py ____________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/pdf.py'
_______________________________________________________________________________ ERROR collecting src/pyhf/probability.py ________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/probability.py'
_________________________________________________________________________________ ERROR collecting src/pyhf/readxml.py __________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/readxml.py'
_______________________________________________________________________________ ERROR collecting src/pyhf/simplemodels.py _______________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/simplemodels.py'
__________________________________________________________________________________ ERROR collecting src/pyhf/utils.py ___________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/utils.py'
________________________________________________________________________________ ERROR collecting src/pyhf/workspace.py _________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/workspace.py'
_________________________________________________________________________________ ERROR collecting src/pyhf/writexml.py _________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/writexml.py'
_________________________________________________________________________________ ERROR collecting src/pyhf/cli/cli.py __________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/cli.py'
_______________________________________________________________________________ ERROR collecting src/pyhf/cli/complete.py _______________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/complete.py'
________________________________________________________________________________ ERROR collecting src/pyhf/cli/infer.py _________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/infer.py'
_______________________________________________________________________________ ERROR collecting src/pyhf/cli/patchset.py _______________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/patchset.py'
________________________________________________________________________________ ERROR collecting src/pyhf/cli/rootio.py ________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/rootio.py'
_________________________________________________________________________________ ERROR collecting src/pyhf/cli/spec.py _________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/spec.py'
_______________________________________________________________________________ ERROR collecting src/pyhf/contrib/cli.py ________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/contrib/cli.py'
______________________________________________________________________________ ERROR collecting src/pyhf/contrib/utils.py _______________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/contrib/utils.py'
____________________________________________________________________________ ERROR collecting src/pyhf/contrib/viz/brazil.py ____________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/contrib/viz/brazil.py'
____________________________________________________________________________ ERROR collecting src/pyhf/infer/calculators.py _____________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/calculators.py'
_____________________________________________________________________________ ERROR collecting src/pyhf/infer/intervals.py ______________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/intervals.py'
________________________________________________________________________________ ERROR collecting src/pyhf/infer/mle.py _________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/mle.py'
__________________________________________________________________________ ERROR collecting src/pyhf/infer/test_statistics.py ___________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/test_statistics.py'
__________________________________________________________________________ ERROR collecting src/pyhf/infer/test_statistics.py ___________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/test_statistics.py'
_______________________________________________________________________________ ERROR collecting src/pyhf/infer/utils.py ________________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/utils.py'
___________________________________________________________________________ ERROR collecting src/pyhf/interpolators/code0.py ____________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/interpolators/code0.py'
___________________________________________________________________________ ERROR collecting src/pyhf/interpolators/code1.py ____________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/interpolators/code1.py'
___________________________________________________________________________ ERROR collecting src/pyhf/interpolators/code2.py ____________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/interpolators/code2.py'
___________________________________________________________________________ ERROR collecting src/pyhf/interpolators/code4.py ____________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/interpolators/code4.py'
___________________________________________________________________________ ERROR collecting src/pyhf/interpolators/code4p.py ___________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/interpolators/code4p.py'
____________________________________________________________________________ ERROR collecting src/pyhf/modifiers/histosys.py ____________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/histosys.py'
______________________________________________________________________________ ERROR collecting src/pyhf/modifiers/lumi.py ______________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/lumi.py'
___________________________________________________________________________ ERROR collecting src/pyhf/modifiers/normfactor.py ___________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/normfactor.py'
____________________________________________________________________________ ERROR collecting src/pyhf/modifiers/normsys.py _____________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/normsys.py'
__________________________________________________________________________ ERROR collecting src/pyhf/modifiers/shapefactor.py ___________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/shapefactor.py'
____________________________________________________________________________ ERROR collecting src/pyhf/modifiers/shapesys.py ____________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/shapesys.py'
___________________________________________________________________________ ERROR collecting src/pyhf/modifiers/staterror.py ____________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/staterror.py'
_____________________________________________________________________________ ERROR collecting src/pyhf/optimize/common.py ______________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/common.py'
_____________________________________________________________________________ ERROR collecting src/pyhf/optimize/mixins.py ______________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/mixins.py'
_____________________________________________________________________________ ERROR collecting src/pyhf/optimize/opt_jax.py _____________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_jax.py'
___________________________________________________________________________ ERROR collecting src/pyhf/optimize/opt_minuit.py ____________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_minuit.py'
____________________________________________________________________________ ERROR collecting src/pyhf/optimize/opt_numpy.py ____________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_numpy.py'
___________________________________________________________________________ ERROR collecting src/pyhf/optimize/opt_pytorch.py ___________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_pytorch.py'
____________________________________________________________________________ ERROR collecting src/pyhf/optimize/opt_scipy.py ____________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_scipy.py'
____________________________________________________________________________ ERROR collecting src/pyhf/optimize/opt_tflow.py ____________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_tflow.py'
___________________________________________________________________________ ERROR collecting src/pyhf/parameters/paramsets.py ___________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/parameters/paramsets.py'
___________________________________________________________________________ ERROR collecting src/pyhf/parameters/paramview.py ___________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/parameters/paramview.py'
_____________________________________________________________________________ ERROR collecting src/pyhf/parameters/utils.py _____________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/parameters/utils.py'
______________________________________________________________________________ ERROR collecting src/pyhf/tensor/common.py _______________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/tensor/common.py'
____________________________________________________________________________ ERROR collecting src/pyhf/tensor/jax_backend.py ____________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/tensor/jax_backend.py'
___________________________________________________________________________ ERROR collecting src/pyhf/tensor/numpy_backend.py ___________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/tensor/numpy_backend.py'
__________________________________________________________________________ ERROR collecting src/pyhf/tensor/pytorch_backend.py __________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/tensor/pytorch_backend.py'
________________________________________________________________________ ERROR collecting src/pyhf/tensor/tensorflow_backend.py _________________________________________________________________________/usr/lib/python3.9/genericpath.py:101: in samefile
s2 = os.stat(f2)
E NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/tensor/tensorflow_backend.py'
=========================================================================================== warnings summary ============================================================================================../../../../../../../../home/saransh/.local/lib/python3.9/site-packages/tensorflow/python/autograph/impl/api.py:22
/home/saransh/.local/lib/python3.9/site-packages/tensorflow/python/autograph/impl/api.py:22: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
../../../../../../../../home/saransh/.local/lib/python3.9/site-packages/papermill/iorw.py:50
/home/saransh/.local/lib/python3.9/site-packages/papermill/iorw.py:50: FutureWarning: pyarrow.HadoopFileSystem is deprecated as of 2.0.0, please use pyarrow.fs.HadoopFileSystem instead.
from pyarrow import HadoopFileSystem
tests/contrib/test_viz.py:53
/mnt/c/Users/Saransh/Saransh_softwares/OpenSource/Python/pyhf/tests/contrib/test_viz.py:53: PytestUnknownMarkWarning: Unknown pytest.mark.mpl_image_compare - is this a typo? You can register custom
marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.mpl_image_compare
tests/contrib/test_viz.py:67
/mnt/c/Users/Saransh/Saransh_softwares/OpenSource/Python/pyhf/tests/contrib/test_viz.py:67: PytestUnknownMarkWarning: Unknown pytest.mark.mpl_image_compare - is this a typo? You can register custom
marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.mpl_image_compare
tests/contrib/test_viz.py:79
/mnt/c/Users/Saransh/Saransh_softwares/OpenSource/Python/pyhf/tests/contrib/test_viz.py:79: PytestUnknownMarkWarning: Unknown pytest.mark.mpl_image_compare - is this a typo? You can register custom
marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.mpl_image_compare
tests/contrib/test_viz.py:91
/mnt/c/Users/Saransh/Saransh_softwares/OpenSource/Python/pyhf/tests/contrib/test_viz.py:91: PytestUnknownMarkWarning: Unknown pytest.mark.mpl_image_compare - is this a typo? You can register custom
marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.mpl_image_compare
tests/contrib/test_viz.py:111
/mnt/c/Users/Saransh/Saransh_softwares/OpenSource/Python/pyhf/tests/contrib/test_viz.py:111: PytestUnknownMarkWarning: Unknown pytest.mark.mpl_image_compare - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.mpl_image_compare
tests/contrib/test_viz.py:131
/mnt/c/Users/Saransh/Saransh_softwares/OpenSource/Python/pyhf/tests/contrib/test_viz.py:131: PytestUnknownMarkWarning: Unknown pytest.mark.mpl_image_compare - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.mpl_image_compare
-- Docs: https://docs.pytest.org/en/stable/warnings.html
----------- coverage: platform linux, python 3.9.2-final-0 -----------
Name Stmts Miss Branch BrPart Cover Missing
-------------------------------------------------------------------------------------------------------------------------------------------
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/__init__.py 74 51 36 0 21% 71-151, 187
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/_version.py 2 0 0 0 100%
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/__init__.py 9 1 0 0 89% 13
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/cli.py 30 4 2 0 81% 16-19
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/complete.py 13 6 0 0 54% 7-17, 26
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/infer.py 84 51 34 0 28% 83-127, 190-241
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/patchset.py 68 40 8 0 37% 42-59, 82-98, 114-125, 137-144
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/rootio.py 51 28 4 0 42% 34-52, 64-87
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/spec.py 145 98 36 0 26% 62-159, 188-205, 252-268, 297-314, 346-362, 392-403
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/compat.py 34 29 20 0 9% 11, 47-53, 90-120
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/constraints.py 134 116 42 0 10% 10, 15-80, 83-88, 95, 105-122, 133-142, 147-211, 214-219, 226, 236-254, 265-274
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/contrib/__init__.py 0 0 0 0 100%
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/contrib/cli.py 26 10 4 0 53% 13, 29, 64-73
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/contrib/utils.py 25 14 8 0 33% 15, 47-68
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/contrib/viz/__init__.py 0 0 0 0 100%
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/contrib/viz/brazil.py 65 56 34 0 9% 16, 117-157, 209-238, 314-372
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/events.py 40 18 2 0 52% 20, 24, 29, 34-36, 39, 56-60, 92-95, 107-108, 116, 124
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/exceptions/__init__.py 42 16 4 0 57% 28, 53-66, 163-167
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/__init__.py 37 29 18 0 15% 9-15, 143-192, 201
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/calculators.py 138 108 18 0 19% 29, 64-67, 95-96, 117-118, 153-158, 183-184, 246-253, 284-297, 324-375, 413-418, 458-459, 497-498, 546-547, 608-613, 659-666, 699-751, 791-796, 836-856, 887-896
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/intervals.py 20 13 10 0 23% 10, 14-15, 57-73
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/mle.py 27 19 8 0 23% 9, 53, 57-59, 117-131, 191-202
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/test_statistics.py 56 42 22 0 18% 13, 24-31, 43-56, 111-120, 180-189, 238-247, 301-310, 358-376
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/utils.py 19 9 0 0 53% 15, 32-33, 69, 105-113
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/interpolators/__init__.py 30 20 8 0 26% 5-18, 31-42, 49
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/interpolators/code0.py 50 36 6 0 25% 29-40, 43-48, 51-56, 60-84, 89-95, 98, 101-102
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/interpolators/code1.py 56 41 6 0 24% 30-46, 49-60, 63-75, 79-100, 105-111, 114, 117-118
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/interpolators/code2.py 60 46 8 0 21% 33-47, 50-58, 61-66, 70-117, 122-130, 133, 136-137
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/interpolators/code4.py 84 69 12 0 16% 37-128, 131-145, 150-165, 169-234, 279-353, 356-357, 360-361
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/interpolators/code4p.py 65 51 8 0 19% 22-33, 36-45, 48-53, 57-109, 118-130, 133, 136-137
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/mixins.py 29 25 8 0 11% 17-51
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/__init__.py 61 13 22 7 71% 19, 37, 45, 53, 141, 144, 149-161, 214
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/histosys.py 44 30 20 0 25% 15, 32-69, 72-78, 87-101
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/lumi.py 36 23 14 0 30% 14, 31-47, 50-57, 64-74
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/normfactor.py 38 25 14 0 29% 14, 28-46, 49-58, 65-82
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/normsys.py 44 30 20 0 25% 15, 32-67, 70-79, 88-102
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/shapefactor.py 46 33 22 0 22% 14, 66-116, 119-131, 138-153
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/shapesys.py 73 58 32 0 16% 17-22, 40-82, 85-106, 111-120, 124-154, 161-177
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/staterror.py 60 46 26 0 19% 14, 29-74, 77-86, 89-117, 120-133
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/__init__.py 22 2 6 1 89% 29-30, 34->exit
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/common.py 44 39 22 0 8% 21-28, 38-58, 109-157
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/mixins.py 54 41 18 1 19% 27, 35-53, 62-99, 146-172
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_jax.py 24 15 4 0 32% 14-24, 48-80
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_minuit.py 59 44 20 0 19% 46-69, 99-135
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_numpy.py 11 8 2 0 23% 22-32
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_pytorch.py 18 15 2 0 15% 22-42
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_scipy.py 29 17 12 0 29% 36, 66-87
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_tflow.py 18 15 2 0 15% 20-43
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/parameters/__init__.py 6 1 0 0 83% 21
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/parameters/paramsets.py 48 33 6 0 28% 13, 18-25, 32-33, 38-39, 44-49, 52-55, 60-65, 68-73
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/parameters/paramview.py 38 28 8 0 22% 11, 15-23, 27-43, 53-73, 76-79, 88-92
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/parameters/utils.py 31 27 16 0 9% 7, 11-70
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/patchset.py 94 54 16 0 36% 16, 42-43, 48, 53, 58, 62-64, 68-70, 162-200, 205, 210, 215, 220, 225, 230, 235, 239-241, 254-259, 270, 279, 294-297, 316-317
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/pdf.py 309 256 113 0 13% 23, 28-67, 71-94, 98-210, 230-262, 279-282, 299-302, 320, 338, 368-372, 387-394, 397-409, 416-441, 451, 466-478, 492-493, 500-529, 532-533, 543, 546-547, 561, 564-577, 606-629, 648-687, 702-704, 707, 712, 725-727, 740-744, 758, 772, 785-796, 810-838, 852-853
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/probability.py 62 37 10 0 35% 8, 25, 35, 48, 68-70, 87, 109-112, 130, 155-156, 185-188, 224-226, 236, 250, 260-261, 274, 287-289, 293-299
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/readxml.py 161 140 79 0 9% 30, 48-49, 54-75, 81-197, 206-213, 217-243, 258-313, 317-331, 335-363, 368
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/simplemodels.py 16 8 0 0 50% 9, 51-78, 114-141, 148, 164-170
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/tensor/__init__.py 34 6 8 0 86% 21-22, 34-35, 47-48
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/tensor/common.py 50 41 20 0 13% 17-26, 29-35, 38-48, 51-60, 67-73, 87-94
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/tensor/jax_backend.py 137 74 2 0 45% 18, 22, 28-29, 34-35, 39, 47-48, 91, 112, 132, 154, 178, 181-186, 189, 192, 195, 198, 222-230, 233, 236, 239, 242-251, 254-263, 266, 269, 272, 275, 278, 281, 284, 298, 320, 323, 326, 346, 366, 369-371, 399-401, 407-411, 442, 466, 487, 511, 538
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/tensor/numpy_backend.py 131 72 2 0 44% 14, 17, 20-21, 26-27, 30, 33-34, 77, 97, 117, 139, 163, 166-171, 174, 177, 180, 183, 206-214, 217, 220, 223, 226-235, 238-247, 250, 253, 256, 259, 262, 265, 268, 282, 304, 307, 310, 330, 349, 352, 380-382, 388-392, 423, 447, 468, 492, 520
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/tensor/pytorch_backend.py 126 75 8 0 38% 30, 52, 72, 92, 116, 119-124, 146, 170, 193-201, 204, 207, 210, 213,
233, 236, 243, 246, 249-258, 261-270, 273, 276, 279, 282, 285, 288, 291, 305, 308, 331-344, 358, 362, 391, 396-401, 429-434, 464-465, 488, 512, 539
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/tensor/tensorflow_backend.py 144 95 14 0 31% 50-54, 75, 96, 120-127, 152, 155-160, 163-170, 173, 176, 179, 204-221, 224, 231, 238, 241-250, 253-262, 265, 268, 271, 274, 295, 298, 301, 304, 307, 334, 348, 374-382, 399, 428-430, 459-461, 490-493, 522-525, 550-553, 576-578, 603-606, 634
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/utils.py 62 29 6 1 50% 26, 31->33, 52-64, 68-71, 78-81, 112-124, 143-154
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/workspace.py 218 183 138 0 10% 23, 42-73, 92-96, 117-140, 159-182, 203-214, 233-279, 291-306, 310-312, 316, 320, 347-382, 399-418, 437-449, 499-602, 632-638, 667-672, 712-744, 758-772, 788-811
/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/writexml.py 147 125 62 0 11% 30, 46-47, 51-55, 60-72, 88-134, 138-231, 235-253, 257-262, 266-274,
280-315
-------------------------------------------------------------------------------------------------------------------------------------------
TOTAL 4008 2784 1132 10 25%
Coverage XML written to file coverage.xml
======================================================================================== short test summary info ========================================================================================ERROR src/pyhf/_version.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/_version.py'
ERROR src/pyhf/compat.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/compat.py'
ERROR src/pyhf/constraints.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/constraints.py'
ERROR src/pyhf/events.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/events.py'
ERROR src/pyhf/mixins.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/mixins.py'
ERROR src/pyhf/patchset.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/patchset.py'
ERROR src/pyhf/pdf.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/pdf.py'
ERROR src/pyhf/probability.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/probability.py'
ERROR src/pyhf/readxml.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/readxml.py'
ERROR src/pyhf/simplemodels.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/simplemodels.py'
ERROR src/pyhf/utils.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/utils.py'
ERROR src/pyhf/workspace.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/workspace.py'
ERROR src/pyhf/writexml.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/writexml.py'
ERROR src/pyhf/cli/cli.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/cli.py'
ERROR src/pyhf/cli/complete.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/complete.py'
ERROR src/pyhf/cli/infer.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/infer.py'
ERROR src/pyhf/cli/patchset.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/patchset.py'
ERROR src/pyhf/cli/rootio.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/rootio.py'
ERROR src/pyhf/cli/spec.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/cli/spec.py'
ERROR src/pyhf/contrib/cli.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/contrib/cli.py'
ERROR src/pyhf/contrib/utils.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/contrib/utils.py'
ERROR src/pyhf/contrib/viz/brazil.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/contrib/viz/brazil.py'
ERROR src/pyhf/infer/calculators.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/calculators.py'
ERROR src/pyhf/infer/intervals.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/intervals.py'
ERROR src/pyhf/infer/mle.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/mle.py'
ERROR src/pyhf/infer/test_statistics.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/test_statistics.py'
ERROR src/pyhf/infer/test_statistics.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/test_statistics.py'
ERROR src/pyhf/infer/utils.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/infer/utils.py'
ERROR src/pyhf/interpolators/code0.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/interpolators/code0.py'
ERROR src/pyhf/interpolators/code1.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/interpolators/code1.py'
ERROR src/pyhf/interpolators/code2.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/interpolators/code2.py'
ERROR src/pyhf/interpolators/code4.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/interpolators/code4.py'
ERROR src/pyhf/interpolators/code4p.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/interpolators/code4p.py'
ERROR src/pyhf/modifiers/histosys.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/histosys.py'
ERROR src/pyhf/modifiers/lumi.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/lumi.py'
ERROR src/pyhf/modifiers/normfactor.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/normfactor.py'
ERROR src/pyhf/modifiers/normsys.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/normsys.py'
ERROR src/pyhf/modifiers/shapefactor.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/shapefactor.py'
ERROR src/pyhf/modifiers/shapesys.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/shapesys.py'
ERROR src/pyhf/modifiers/staterror.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/modifiers/staterror.py'
ERROR src/pyhf/optimize/common.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/common.py'
ERROR src/pyhf/optimize/mixins.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/mixins.py'
ERROR src/pyhf/optimize/opt_jax.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_jax.py'
ERROR src/pyhf/optimize/opt_minuit.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_minuit.py'
ERROR src/pyhf/optimize/opt_numpy.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_numpy.py'
ERROR src/pyhf/optimize/opt_pytorch.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_pytorch.py'
ERROR src/pyhf/optimize/opt_scipy.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_scipy.py'
ERROR src/pyhf/optimize/opt_tflow.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/optimize/opt_tflow.py'
ERROR src/pyhf/parameters/paramsets.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/parameters/paramsets.py'
ERROR src/pyhf/parameters/paramview.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/parameters/paramview.py'
ERROR src/pyhf/parameters/utils.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/parameters/utils.py'
ERROR src/pyhf/tensor/common.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/tensor/common.py'
ERROR src/pyhf/tensor/jax_backend.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/tensor/jax_backend.py'
ERROR src/pyhf/tensor/numpy_backend.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/tensor/numpy_backend.py'
ERROR src/pyhf/tensor/pytorch_backend.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/tensor/pytorch_backend.py'
ERROR src/pyhf/tensor/tensorflow_backend.py - NotADirectoryError: [Errno 20] Not a directory: '/usr/local/lib/python3.9/dist-packages/pyhf-0.0.0-py3.9.egg/pyhf/tensor/tensorflow_backend.py'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 56 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!==================================================================================== 8 warnings, 56 errors in 35.92s ==================================================================================== |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
@Saransh-cpp Can you tell us how you installed things? What's your
in the trace that things aren't getting installed properly. |
Beta Was this translation helpful? Give feedback.
@Saransh-cpp Can you tell us how you installed things? What's your
python -m pip list
output? It looks like from the existence ofin the trace that things aren't getting installed properly.