Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/bump_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Bump version
on:
push:
branches:
- master
- main
paths-ignore:
Comment on lines 4 to 6
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

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

This PR changes the workflow trigger branch to main, but the repo still contains several master branch references (e.g., README.md coveralls badge uses branch=master, and README text references committing to master). If the default branch has been renamed to main, these should be updated (or the PR title/description adjusted to reflect that only the workflow trigger was changed).

Copilot uses AI. Check for mistakes.
- '.github/**'
- 'README.md'
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
run: echo "No version bump requested"

- name: Push changes
uses: ad-m/github-push-action@master
uses: ad-m/github-push-action@main
with:
github_token: ${{ secrets.PAT_MW_TOKEN_ACTION }}
tags: true
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


# picca
[![Coverage Status](https://coveralls.io/repos/github/igmhub/picca/badge.svg?branch=master)](https://coveralls.io/github/igmhub/picca?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/igmhub/picca/badge.svg?branch=main)](https://coveralls.io/github/igmhub/picca?branch=main)

Package for Igm Cosmological-Correlations Analyses.

Expand Down Expand Up @@ -169,8 +169,8 @@ Before submitting a PR please make sure to:

New scripts should be added to `pyproject.toml` file under the [project.scripts] section.

When merging PRs (or committing to master directly):
- by default the patch version is increased via a github action, so every change of master will generate a new version
When merging PRs (or committing to main directly):
- by default the patch version is increased via a github action, so every change of main will generate a new version
This behaviour can be changed by adding one of the following to the commit-msg of the merge commit:
- by specifying [bump minor] or [bump major] a new minor or major version will be generated instead, but tags and releases need to be created manually (and are auto-pushed to pypi when they are created)
- by specifying [no bump] the version bump can be circumvented altogether when some other behaviour is wanted, in that case bump2version should be run manually
6 changes: 3 additions & 3 deletions data/duMasdesBourbouxetal2020/BAO_for_external_use/README
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ Column 2: (DH/rd) at z=2.334
Column 3: likelihood (relative to the best point on the grid)

2. Files containing the full scan output in text format with all parameters can be found here:
https://github.com/igmhub/picca/tree/master/data/duMasdesBourbouxetal2020.
https://github.com/igmhub/picca/tree/main/data/duMasdesBourbouxetal2020.
There is a folder with auto results (auto_full_stdFit), one for the cross (cross_full_stdFit) and one for the combined
results (combined_stdFit). These were used for the Lyman-alpha BAO analysis (https://arxiv.org/pdf/2007.08995.pdf).

3. Attached is a script (get_scan.py) that reads picca fitter2 .h5 output files
(you can find the raw outputs here as auto_scan.h5 and cross_scan.h5) and writes the scan information to a file.
This script can be used to produce the scan files used by CosmoMC, MontePython and Cobaya, or for getting the scan information
for plotting purposes (see tutorial here https://github.com/igmhub/picca/tree/master/data for more info on plotting contours).
for plotting purposes (see tutorial here https://github.com/igmhub/picca/tree/main/data for more info on plotting contours).

The BAO scans here have been produced with this script. They are:
sdss_DR16_LYAUTO_bao_chi2.dat
Expand Down Expand Up @@ -51,6 +51,6 @@ The fiducial values used to compute the alphas are:
(DH/rd)_fiducial = 8.6011

See Table 2 of https://arxiv.org/pdf/2007.08995.pdf for more information on the fiducial values used.
For the bestfit chi2 values see https://github.com/igmhub/picca/tree/master/data/duMasdesBourbouxetal2020 or https://arxiv.org/pdf/2007.08995.pdf.
For the bestfit chi2 values see https://github.com/igmhub/picca/tree/main/data/duMasdesBourbouxetal2020 or https://arxiv.org/pdf/2007.08995.pdf.


Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def read_catalogue(self):
elif "ZCATALOG" in extnames:
extension = "ZCATALOG"
else:
# TODO: this is a patch that should be removed before merging with master
# TODO: this is a patch that should be removed before merging with main
# The extension=1 line should be removed and the raise uncommented
extension = 1
#raise QuasarCatalogueError(
Expand Down
2 changes: 1 addition & 1 deletion tutorials/QA_plots.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"\n",
"***WARNING:*** If you open a .h5 file (fit outputs) ***make sure you use the 'r' option***. Otherwise, you might overwrite the file and lose its contents. @TODO: add a protection againts this attack, for now ***please be careful.***\n",
"\n",
"***Reminder***: your modifications will modify your local copy of the notebook, if you want to share those modifications, please do a PR. You might lose them if the notebook is modified and you update picca to the latest master. If you are unsure what this means, make a copy of the file (e.g. to your home) and work with it.\n",
"***Reminder***: your modifications will modify your local copy of the notebook, if you want to share those modifications, please do a PR. You might lose them if the notebook is modified and you update picca to the latest main. If you are unsure what this means, make a copy of the file (e.g. to your home) and work with it.\n",
"\n",
"***How to setup the jupyter environment at NERSC***:\n",
"(you need to do this only once)\n",
Expand Down
10 changes: 5 additions & 5 deletions tutorials/eboss_dr16/nersc_tutorial_instructions.ipynb

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions tutorials/eboss_dr16/tutorial_instructions.ipynb

Large diffs are not rendered by default.