-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare for v0.0.2 (first public beta) (#84)
* add time chunks to gain_chunks dict * bump version * clean up setup.py * check * cleanup spotless worker * import from qcal instead of redefining * clean up dist options * towards parametric models * degrid from parametrised model * reweight on convergence of primal dual * add crude field, ddid, scan selection logic for init worker * vertical parallelism in weight_data * reinstate wavelet tests * remove use of make_noncritical in psi funcs * use more of the PSF to determine clean beam * switch to default qcal branch * add postfix to spotless outputs * use map_blocks in l2reweight to avoid div by zero * fixes to forward worker * add min_val to model2comps * add channel selection * set freq range to none when not supplied * fix failing tests * do not optimise grap in grid * dont use delayed, just dont * do not print emaj emin * Add test for spotless workflow * move model2comps fitting into separate function and add test * orthogonal polynomials for the win * extend test for spotless workflow * fix interp when nband!=nbasisf * remove full model from coeff dataset * more flexible restore worker (optional psf) * initial implementation * bug in restore when only single component present * start adding Blocker wrapper * GaussPars typo in restore * prefer clone over inline_array * chunk freq axis before sum overlap * counts None * allow changing model resolution in grid * rechunk chan axis after concatenation * do not chunk on list * nx -> npix_x * x0 -> center_x * extrapolate with zeros * remove pdb imports * do not modify in place in normwsum * remove trailing .zarr when naming outputs * dual update to avoid duplicate arrays * simplify dual update * norm_diff in primal dual * rm large islands function: * ok * TypeError: unhashable type: 'Array' when using blocker * still weirdness * do not fit psf cube if no restored products cubes requested * argmax instead of searchsorted for freq selection * fix freq selection * Add pip update step to readme * correct chan chunks when cpi=-1 * prefer requests over packratt * ANTENNA1->ANTENNA2 in test framework * remove cell_scaling lie * grid running through * fix failing tests * tbump attempt 1 * add tbump.toml file * fix failing dual_update test * add min_val to model2comps * add CI step to publish to Test PyPI --------- Co-authored-by: landmanbester <[email protected]>
- Loading branch information
1 parent
79ea206
commit c07aa50
Showing
45 changed files
with
2,916 additions
and
2,441 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,8 +35,35 @@ jobs: | |
deploy: | ||
needs: [test] | ||
runs-on: ubuntu-latest | ||
|
||
# Run on a push to a tag or master | ||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | ||
steps: | ||
- name: Deploy Step | ||
run: > | ||
echo "Deploying PyPI" | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install latest setuptools, wheel, pip | ||
run: python3 -m pip install -U pip setuptools wheel | ||
|
||
- name: Checkout source | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Build distributions | ||
run: python setup.py sdist bdist_wheel | ||
|
||
- name: Publish distribution to Test PyPI | ||
uses: pypa/[email protected] | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.TESTTOKEN }} | ||
repository_url: https://test.pypi.org/legacy/ | ||
continue-on-error: false | ||
|
||
- name: Publish distribution 📦 to PyPI | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.