From cb243aa76dd14be0d4d4c87a0aee2134374e4e2e Mon Sep 17 00:00:00 2001 From: landmanbester Date: Fri, 13 Dec 2024 16:47:42 +0200 Subject: [PATCH 1/3] use specific sha --- .github/workflows/ci.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e662b216..a2bb6465 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -176,16 +176,8 @@ jobs: - name: Build distributions run: poetry build - - name: Publish distribution to Test PyPI - uses: pypa/gh-action-pypi-publish/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_TEST_API_TOKEN }} - repository_url: https://test.pypi.org/legacy/ - verbose: true - - name: Publish distribution to PyPI - uses: pypa/gh-action-pypi-publish/v1 + uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} From 9236d13c9de4bafbaf4c924d812749b28cb99a8b Mon Sep 17 00:00:00 2001 From: landmanbester Date: Fri, 13 Dec 2024 16:48:03 +0200 Subject: [PATCH 2/3] skip ci --- pfb/operators/gridder.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pfb/operators/gridder.py b/pfb/operators/gridder.py index 5a82d9ea..de030a23 100644 --- a/pfb/operators/gridder.py +++ b/pfb/operators/gridder.py @@ -436,8 +436,6 @@ def image_data_products(dsl, meani = np.mean(ressq[mask>0]/ovar) stdi = np.std(ressq[mask>0]/ovar) print(f"Band {bandid} before: mean = {meani:.3e}, std = {stdi:.3e}") - # wgt_relative_one = (l2_reweight_dof + 1)/(l2_reweight_dof + ressq/ovar) - # wgt *= wgt_relative_one wgt *= (l2_reweight_dof + 1)/(l2_reweight_dof + ressq/ovar) else: wgt = None From e968355f4ab1af7da2157ce6ad57f322506fe705 Mon Sep 17 00:00:00 2001 From: landmanbester Date: Fri, 13 Dec 2024 16:49:01 +0200 Subject: [PATCH 3/3] versions skip ci --- pyproject.toml | 2 +- tbump.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9e90c43f..c267f554 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pfb-imaging" -version = "0.0.5" +version = "0.0.4" description = "Radio interferometric imaging suite based on a preconditioned forward-backward approach" authors = ["Landman Bester "] license = "MIT" diff --git a/tbump.toml b/tbump.toml index 09e52ea3..3d4d8c5b 100644 --- a/tbump.toml +++ b/tbump.toml @@ -2,7 +2,7 @@ github_url = "https://github.com/ratt-ru/pfb-imaging/" [version] -current = "0.0.5" +current = "0.0.4" # Example of a semver regexp. # Make sure this matches current_version before