From e16e3c2f9793ea89735392c10ac840aa41acc102 Mon Sep 17 00:00:00 2001 From: David Alonso Date: Thu, 11 Apr 2024 12:35:41 +0100 Subject: [PATCH] V2beta (#188) * updating version and changelog * __version__ attribute --- CHANGELOG.md | 10 ++++++++++ pymaster/__init__.py | 3 +++ pyproject.toml | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d0d9200..20df7285 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +# v2.0b + Improved error messages (#187) + Migrated to ducc from libsharp (#183) + +# v1.6 + Bugfix: sign of Wigner 3j symbols (#180) + Faster method for spin-0 Wigner 3j symbols (#178) + No deprojection bias for lite fields (#177) + Bugfix for rectangular covariances (#175) + # v1.5.1 - Bugfix in Toeplitz calculation (#169) - Bugfix for rectangular covariances (#175) diff --git a/pymaster/__init__.py b/pymaster/__init__.py index 63c6b3e5..f4567199 100644 --- a/pymaster/__init__.py +++ b/pymaster/__init__.py @@ -47,6 +47,9 @@ All sky maps accepted and returned by these functions are \ in the form of HEALPix maps exclusively with RING ordering. """ +from importlib.metadata import version +__version__ = version(__name__) + from pymaster import nmtlib as lib # noqa import numpy as np # noqa from pymaster.utils import ( # noqa diff --git a/pyproject.toml b/pyproject.toml index fed7fe7e..3bd388a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta" [project] name = "pymaster" -version = "1.6.1" +version = "2.0b0" authors = [ {name="David Alonso", email="david.alonso@physics.ox.ac.uk"} ]