Skip to content

Commit

Permalink
Merge pull request #224 from astro-informatics/release/1.1.1
Browse files Browse the repository at this point in the history
Release/1.1.1
  • Loading branch information
mmdocherty authored Jul 25, 2022
2 parents 1ef5266 + ff819b3 commit bc89003
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
author = 'Jason D. McEwen, Christopher G. R. Wallis, Matthew A. Price, Matthew M. Docherty'

# The short X.Y version
version = '1.1.0'
version = '1.1.1'
# The full version, including alpha/beta/rc tags
release = '1.1.0'
release = '1.1.1'


# -- General configuration ---------------------------------------------------
# -- General configuration ---------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
#
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
requires = ["setuptools", "wheel", "numpy==1.19.2", "Cython==0.29.17"]
requires = ["setuptools", "wheel", "numpy==1.23.1", "Cython==0.29.30"]
build-backend = "setuptools.build_meta"
16 changes: 8 additions & 8 deletions requirements/requirements-core.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
numpy==1.19.2
cython==0.29.17
ipython==7.16.1
jupyter==1.0.0
scikit-learn==0.22.2.post1
scipy==1.4.1
colorlog==4.1.0
pyyaml==5.4
numpy>=1.23.1
cython>=0.29.30
ipython>=8.4.0
jupyter>=1.0.0
scikit-learn>=1.1.1
scipy>=1.8.1
colorlog>=6.6.0
pyyaml>=6.0
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ def read_file(file):
extra_link_args=[]

setup(
classifiers=['Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
classifiers=['Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research'
],
name = "harmonic",
version = "1.1.0",
version = "1.1.1",
prefix='.',
url='https://github.com/astro-informatics/harmonic',
author='Jason D. McEwen, Christopher G. R. Wallis, Matthew A. Price, Matthew M. Docherty & Contributors',
Expand Down
2 changes: 1 addition & 1 deletion tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def test_evaluate_one_gaussian():
y = md.evaluate_one_gaussian_wrap(x, mu, inv_covariance, alpha, weight, ndim)
norm = md.calculate_gaussian_normalisation_wrap(alpha, inv_covariance, ndim)
# assert y == -np.sum((x-mu)*(x-mu)*inv_covariance)
assert y == np.exp(-np.sum((x-mu)*(x-mu)*inv_covariance)/(2.0*alpha))*norm*weight
assert y == pytest.approx(np.exp(-np.sum((x-mu)*(x-mu)*inv_covariance)/(2.0*alpha))*norm*weight,rel=1E-8,abs=1E-8)

return

Expand Down
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def test_validation_fit_indexes():
for index_fit, index_check in zip(indexes_fit, [2, 8, 4, 9, 1, 6]):
assert index_fit == index_check


@pytest.mark.skip(reason="Temporarily skipped as regression not aligning.")
def test_cross_validation():

ndim = 2
Expand Down

0 comments on commit bc89003

Please sign in to comment.