Skip to content

Cobaya support - #19

Open
AngusWright wants to merge 5 commits into
Euclidfrom
cobaya_support
Open

Cobaya support#19
AngusWright wants to merge 5 commits into
Euclidfrom
cobaya_support

Conversation

@AngusWright

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings July 29, 2026 06:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces a new processing function to generate Cobaya configuration for running CosmoPipe likelihoods via the cosmosis_cobaya_interface, by constructing a Cobaya .yaml file from existing CosmoSIS inputs and pipeline settings.

Changes:

  • Add prepare_cobaya.sh to generate a Cobaya YAML config under a new cobaya_inputs/ datablock directory.
  • Add prepare_cobaya.man.sh to register the new mode, its inputs/outputs, and runtime command.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
scripts/prepare_cobaya.sh New processing function that writes a Cobaya YAML configuration based on CosmoPipe variables and existing CosmoSIS ini inputs.
man/prepare_cobaya.man.sh New mode “manual” entry defining prompt/description, declared inputs/outputs, and the execution command for prepare_cobaya.sh.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread man/prepare_cobaya.man.sh
Comment thread man/prepare_cobaya.man.sh Outdated
Comment thread man/prepare_cobaya.man.sh Outdated
Comment thread scripts/prepare_cobaya.sh
Comment on lines +76 to +80
params:
EOF
#}}}
write_sampling_params AIA intrinsic_alignment_parameters 3 >> ${YAML_FILE_NNAME}

Comment thread scripts/prepare_cobaya.sh
@@ -0,0 +1,144 @@
#=========================================
#
# File Name : prepare_cosmosis.sh
AngusWright and others added 3 commits July 29, 2026 11:03
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.

3 participants