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

Deprecations update #155

Merged
merged 13 commits into from
Nov 14, 2023
Merged

Deprecations update #155

merged 13 commits into from
Nov 14, 2023

Conversation

cmbant
Copy link
Collaborator

@cmbant cmbant commented Nov 13, 2023

  • no pkg_resources

@cmbant cmbant changed the base branch from master to windows_install November 13, 2023 12:01
@cmbant cmbant changed the base branch from windows_install to master November 13, 2023 12:41
@codecov-commenter
Copy link

codecov-commenter commented Nov 13, 2023

Codecov Report

Merging #155 (4eec624) into master (3075927) will decrease coverage by 0.23%.
Report is 2 commits behind head on master.
The diff coverage is 92.64%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #155      +/-   ##
==========================================
- Coverage   74.05%   73.82%   -0.23%     
==========================================
  Files          31       31              
  Lines        1931     1960      +29     
==========================================
+ Hits         1430     1447      +17     
- Misses        501      513      +12     
Files Coverage Δ
soliket/__init__.py 100.00% <100.00%> (ø)
soliket/cosmopower.py 17.48% <ø> (ø)
soliket/cross_correlation/__init__.py 100.00% <100.00%> (ø)
soliket/lensing/lensing.py 95.74% <100.00%> (ø)
soliket/utils.py 93.54% <100.00%> (+0.69%) ⬆️
soliket/ccl.py 93.54% <88.88%> (+0.32%) ⬆️
soliket/clusters/clusters.py 86.23% <85.71%> (ø)
soliket/cross_correlation/cross_correlation.py 75.83% <92.85%> (-5.12%) ⬇️

itrharrison
itrharrison previously approved these changes Nov 14, 2023
docs/soliket-docs.yml Outdated Show resolved Hide resolved
soliket-tests.yml Outdated Show resolved Hide resolved
@itrharrison itrharrison self-requested a review November 14, 2023 09:40
@itrharrison itrharrison merged commit 24f7535 into master Nov 14, 2023
8 checks passed
@itrharrison itrharrison deleted the deprections_update branch November 14, 2023 09:47
itrharrison added a commit that referenced this pull request Jun 7, 2024
* pyccl optional (#153)

* pyccl optional

* oops

* Add simple halo model (#150)

* remove depracated likelihood.theory calls

* codestyle

* sphinx compatability update

* sphinx compatability update 2204

* add build tools

* move rtd python ver

* rtd try different pyver

* rtd try different order

* conda on rtd

* update rtd mock import

* add rtd theme

* add rtd theme correctly

* add rtd theme in setup.cfg

* Testing yaml instead of yml.

* added docs conda env

* add full requirements in docs

* pin tensorflow dep

* started basic halo model

* started basic pyhm implementation and tests

* pkmm computation with z loop

* remove empty functions

* test against precomputed value

* codestyle and fix test

* add missing default files

* added docs

* line length

* remove refernce to bias model in docs

* improve docs

---------

Co-authored-by: Hidde Jense <JenseH@cardiff.ac.uk>

* Deprecations update (#155)

* pyccl optional

* oops

* remove pkg_resources

* str path

* pudate latest

* fix

* py311

* py311

* py311

* typo

* Update docs/soliket-docs.yml

* Update soliket-tests.yml

---------

Co-authored-by: Ian Harrison <itrharrison@gmail.com>

* Pycharm tidies (#161)

* pyccl optional

* oops

* remove pkg_resources

* str path

* added new warnings, fails

* pudate latest

* changes for new reqs

* fix

* py311

* py311

* py311

* update halomodel codestyle

* Mist tidy

* typo

* brackets

---------

Co-authored-by: Ian Harrison <itrharrison@gmail.com>

* Run tests only on PR open, review requests (#159)

* run tests only on PR open, review requests

* added some extra instructions in docs

* reorder on setting

* line break

* reset what is written in docs

* Add more flake8 requirements (#157)

* added new warnings, fails

* changes for new reqs

* update halomodel codestyle

* whitespace warnings

* added zstar to crosscorrelation (#165)

* Implementation of the lensing power spectrum computation with CCL (#166)

* Implementing the lensing power spectrum computation with CCL. Added a flag to choose whether to use CAMB or CCL to compute this power spectrum.

* Adding test to check CCL and CAMB agree to predict the CMB lensing power spectrum

---------

Co-authored-by: Raphaël Kou <raphael.kou@apc.in2p3.fr>

* solving bug in mflike (#170)

* Fix readme (#173)

* stricter indentation

* Update README.rst

* Dev check ell range mflike (#171)

* change to lmax requirements

* removing comments in modified files

* solving style issues

* solving issues in test mflike

* solving codestyle issues

* switched from hard-coded to l_bpws-depndt multipole

* fixed codestyle

---------

Co-authored-by: Martina Gerbino <bradamante@martina.local>
Co-authored-by: Ian Harrison <itrharrison@gmail.com>

* Resolving packages path with cobaya tools (#169)

* Fix extra letter in calibration params

* Use cobaya tools to resolve packages path

* flake

* Revert "flake"

This reverts commit 526acde.

* Update yaml files with correct paramnames and paths

For the `test_multi.py`, I switched from `MFLike` to `TestMFLike`, coherently with `test_mflike.py`

* Update paths in test_multi

* Enable multi and mflike in test_runs

* bug fix

* Avoid overwrite global packages_path

* flake

* Change pathfinding to data with packages path

* Revert to request forcing rootdir

* Point to `tox.ini` directory

---------

Co-authored-by: mgerbino <marti.gerbino@gmail.com>
Co-authored-by: Ian Harrison <itrharrison@gmail.com>

---------

Co-authored-by: Antony Lewis <cmbant@users.noreply.github.com>
Co-authored-by: Hidde Jense <JenseH@cardiff.ac.uk>
Co-authored-by: raphkou <61792335+raphkou@users.noreply.github.com>
Co-authored-by: Raphaël Kou <raphael.kou@apc.in2p3.fr>
Co-authored-by: Serena Giardiello <67148348+sgiardie@users.noreply.github.com>
Co-authored-by: mgerbino <marti.gerbino@gmail.com>
Co-authored-by: Martina Gerbino <bradamante@martina.local>
Co-authored-by: Giacomo Galloni <giacomo.galloni@unife.it>
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.

Remove dependence of pkg_resources (deprecation)
3 participants