Skip to content

Move printable types out of printers#601

Open
ChrisJChang wants to merge 1 commit into
masterfrom
printable_types
Open

Move printable types out of printers#601
ChrisJChang wants to merge 1 commit into
masterfrom
printable_types

Conversation

@ChrisJChang

@ChrisJChang ChrisJChang commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

test_printable_types.zip
Note: I accidentally pushed directly to master, so I reverted it, and reapplied it for this PR. Hence why the only commit is a reapply of an existing commit. Our branch protections for master let any repo admin bypass it, but since that is everyone, we effectively had no branch protections. I have now updated those.

This PR moves several printable types out of the Printer module, into their own module. It does this by creating additional observables with the name printable_blah (e.g. printable_primordial_abundances_BBN). If this is specified in the yaml (in the ObsLike section), it will use the version that has already been translated into a printable type like map_str_double.

It does create a bunch of new capabilities for the different flav predictions, so perhaps that is not optimal

I have attached a yaml file that I used to test this for the Cosmo case.

…ed observables for printable versions of:"

This reverts commit 5c5b618.
@ChrisJChang ChrisJChang requested a review from anderkve June 3, 2026 13:23
@ChrisJChang ChrisJChang self-assigned this Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant