Skip to content

Refactor for compatibility update#26

Open
liuyiqiandrew wants to merge 12 commits into
simonsobs:mainfrom
liuyiqiandrew:refactor
Open

Refactor for compatibility update#26
liuyiqiandrew wants to merge 12 commits into
simonsobs:mainfrom
liuyiqiandrew:refactor

Conversation

@liuyiqiandrew
Copy link
Copy Markdown

@liuyiqiandrew liuyiqiandrew commented Apr 15, 2026

Compatibility update for python>=3.10 and up-to-date package dependencies.
Better code with: typehinting, docstrings, unit test, black formating, documentation.
@kwolz

@susannaaz susannaaz self-requested a review April 22, 2026 21:08
# Conflicts:
#	bbpower/bandpasses.py
#	bbpower/compsep.py
#	bbpower/fg_model.py
#	bbpower/param_manager.py
#	bbpower/power_specter.py
#	examples/generate_SO_maps.py
#	examples/generate_SO_spectra.py
#	examples/utils.py
#	test/run_compsep_test.sh
#	test/run_polychord_test.sh
#	test/run_power_specter_test.sh
#	test/run_sampling_test.sh
#	test/test_config_predicted_spectra.yml
@damonge
Copy link
Copy Markdown
Collaborator

damonge commented Apr 29, 2026

Thanks @liuyiqiandrew .

I think the overall direction is the correct one, but I worry that this PR is almost impossible to review. It would need to be broken down into smaller PRs in which it is easy to see for reviewers what has actually changed in the code.

I think the aim is to give BBPower a complete overhaul in any case, shedding a lot of the stuff that is not really used or useful. So perhaps we can use this as a place to look for inspiration in that effort, but merging the PR as it is would be really difficult. It took me 30s just to scroll through the changes as fast as my mousepad would let me!

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