Skip to content

Commit

Permalink
Tmp (#128)
Browse files Browse the repository at this point in the history
* use specific sha

* skip ci

* versions skip ci
  • Loading branch information
landmanbester authored Dec 13, 2024
1 parent 1a940eb commit bbdbd3e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 0 additions & 2 deletions pfb/operators/gridder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion tbump.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bbdbd3e

Please sign in to comment.