Skip to content

Commit

Permalink
2.0.0 (#296)
Browse files Browse the repository at this point in the history
`anesthetic` 2.0.0 release

Substantial API, feature and packaging update.

For more detail, see the documentation:
https://anesthetic.readthedocs.io/en/latest/

To install the latest version:
```bash
pip install anesthetic
```
  • Loading branch information
williamjameshandley committed Jun 29, 2023
1 parent 59af500 commit 6c5e8fc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
anesthetic: nested sampling post-processing
===========================================
:Authors: Will Handley and Lukas Hergt
:Version: 2.0.0-beta.44
:Version: 2.0.0
:Homepage: https://github.com/handley-lab/anesthetic
:Documentation: http://anesthetic.readthedocs.io/

Expand Down
2 changes: 1 addition & 1 deletion anesthetic/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.0.0b44'
__version__ = '2.0.0'
10 changes: 7 additions & 3 deletions tests/test_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
import getdist
except ImportError:
pass
try:
from tables import Array # noqa: F401
pytables_imported = True
except ImportError:
pytables_imported = False


@pytest.fixture(autouse=True)
Expand Down Expand Up @@ -237,9 +242,8 @@ def test_regex_escape():


@pytest.mark.parametrize('root', ['pc', 'gd'])
@pytest.mark.xfail('tables' not in sys.modules,
raises=ImportError,
reason="requires tables package")
@pytest.mark.skipif(pytables_imported is False,
reason="requires tables package")
def test_hdf5(root):
samples = read_chains('./tests/example_data/' + root)
filename = 'test_hdf5.h5'
Expand Down

0 comments on commit 6c5e8fc

Please sign in to comment.