Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing coerce_literal calls. #341

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Add missing coerce_literal calls. #341

merged 1 commit into from
Aug 28, 2024

Conversation

JSKenyon
Copy link
Collaborator

Newer versions of Numba break the robust reweighting code due to incorrect literal evaluations. This PR add the necessary fix.

@landmanbester
Copy link
Collaborator

You may also be able to use prefer_literal in the overload decorator as I do here https://github.com/ratt-ru/pfb-imaging/blob/fac50dcbd7eff06e9b0dddf0865244c268ab94f1/pfb/utils/weighting.py#L220

@JSKenyon
Copy link
Collaborator Author

You may also be able to use prefer_literal in the overload decorator as I do here https://github.com/ratt-ru/pfb-imaging/blob/fac50dcbd7eff06e9b0dddf0865244c268ab94f1/pfb/utils/weighting.py#L220

I have been meaning to give that a try. Maybe now is the time.

@JSKenyon JSKenyon merged commit ec9703f into v0.2.4-dev Aug 28, 2024
8 checks passed
@JSKenyon JSKenyon deleted the fix-reweighting branch August 28, 2024 13:13
JSKenyon added a commit that referenced this pull request Nov 29, 2024
* Add experimental combined delay and tec solver. (#339)

* Commit initial attempt at delay and tec solver.

* Add poor test for delay and tec.

* Add missing coerce_literal calls. (#341)

* Make schema consistent with that required by cult-cargo. (#346)

* Update depdendencies  (#345)

* Partiallu update dependencies/lock while waiting for dask-ms release.

* Remove 3.9 from test matrix.

* Bump dependency versions.

* Fix bad python version specification.

* Fix for reindex change. Update Poetry lock.

* Remove 3.12 support for now due to difficulties in tigger-lsm.

* Update lock.

* Add support for Python3.12 (#348)

* Add python3.12 support.

* Update lock.

* Further lock update.

* Serparate versioning for astro-tigger-lsm when using python 3.12.

* EXPERIMENTAL: Add a crosshand phase solver which expolits the zero Stokes V assumption.  (#344)

* Initial commit of null V WIP.

* Seemingly working implementation of solver exploiting the null-v trick.

* Add new term type to allowed gain types.

* Add a parallactic angle gain type.

* Add test for parallactic angle term. Fix minor bugs.

* Remove unused imports.

* Improve removal of coords/attts added by quartical during writes.

* remove question marks when plotting (#347)

* remove question marks when plotting (treated as wildcard by ls in radio-padre)

* Replace question marks with N/A.

---------

Co-authored-by: Jonathan Kenyon <[email protected]>

* Mark test as xfail die to sign ambiguity.

---------

Co-authored-by: Landman Bester <[email protected]>

---------

Co-authored-by: Landman Bester <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants