Skip to content

Towards r#25

Open
kwolz wants to merge 7 commits intomainfrom
towards_r
Open

Towards r#25
kwolz wants to merge 7 commits intomainfrom
towards_r

Conversation

@kwolz
Copy link
Collaborator

@kwolz kwolz commented Mar 5, 2026

Adding convenience scripts to limit dependence on less-maintainted code pieces. The original functionalities remain unchanged. The main changes are:

  • BB Compsep (nopipe) is BBPipe-independent, MPI-compatible (if running on simulations), and can be completely run using a yaml file (no command line arguments)
  • BBPlotter (nopipe) can be run from the same yaml file, and plots best-fit power spectra be default.

A real-life example runscript has been added (requires access to the tiger computing cluster).

@kwolz kwolz requested a review from damonge March 5, 2026 19:16
Copy link
Collaborator

@damonge damonge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. Ideally we wouldn't have to copy over the whole code from compsep to compsep_nopipe to avoid maintaining both at the same time. However, I understand this is only a preliminary step to migrating out of BBpipe entirely (perhaps in a separate repo).

Two things:

  1. Check the one comment I made.
  2. How about renaming the new config and run.sh files from sat_wmap... to nopipe, so it's easier for us to find these examples in the future?

Comment on lines +2 to +7
import sys
import os
sys.path.append(
os.path.abspath(os.path.join(os.path.dirname(__file__), '.'))
)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need this?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I think I know why you need it, but do you know if this interferes with the non-nopipe running of bbpower?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need it since if I import bbpower as a package instead, I will need to have bbpipe installed. I checked that this works with the old tests and the new example.

@kwolz kwolz requested a review from damonge March 24, 2026 18:31
@kwolz
Copy link
Collaborator Author

kwolz commented Mar 24, 2026

Renamed example, tested old and new examples, linting and small fixes.

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