From 174929ddbde40f6c274616c91c731b61fc057364 Mon Sep 17 00:00:00 2001 From: Joe Zuntz Date: Tue, 28 Feb 2023 19:26:01 +0000 Subject: [PATCH] fix file paths --- .github/workflows/ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0593fb9c..499033a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,8 +120,8 @@ jobs: source cosmosis-configure cosmosis examples/des-y3.ini -p pk_to_cl_gg.save_kernels=T pk_to_cl.save_kernels=T | tee output/des-y3.log OLD_CAMB=$(python -c 'import camb;vs=camb.__version__.split(".");print(float(vs[0]+"."+vs[1])<1.4)') - if [ "$OLD_CAMB" == "True" ]; then grep 'Likelihood = 6043.23' output/planck.log; fi - if [ "$OLD_CAMB" == "False" ]; then grep 'Likelihood = 6043.34' output/planck.log; fi + if [ "$OLD_CAMB" == "True" ]; then grep 'Likelihood = 6043.23' output/des-y3.log; fi + if [ "$OLD_CAMB" == "False" ]; then grep 'Likelihood = 6043.34' output/des-y3.log; fi - name: DES Y3 Class likelihood @@ -135,10 +135,10 @@ jobs: shell: bash -l {0} run: | source cosmosis-configure - cosmosis examples/des-y3-shear.ini | tee output/des-y3.log + cosmosis examples/des-y3-shear.ini | tee output/des-y3-shear.log OLD_CAMB=$(python -c 'import camb;vs=camb.__version__.split(".");print(float(vs[0]+"."+vs[1])<1.4)') - if [ "$OLD_CAMB" == "True" ]; then grep 'Likelihood = 2957.03' output/planck.log; fi - if [ "$OLD_CAMB" == "False" ]; then grep 'Likelihood = 2957.12' output/planck.log; fi + if [ "$OLD_CAMB" == "True" ]; then grep 'Likelihood = 2957.03' output/des-y3-shear.log; fi + if [ "$OLD_CAMB" == "False" ]; then grep 'Likelihood = 2957.12' output/des-y3-shear.log; fi - name: DES Y3 likelihood with Mira Titan @@ -147,17 +147,17 @@ jobs: source cosmosis-configure cosmosis examples/des-y3-mira-titan.ini | tee output/des-y3-mt.log OLD_CAMB=$(python -c 'import camb;vs=camb.__version__.split(".");print(float(vs[0]+"."+vs[1])<1.4)') - if [ "$OLD_CAMB" == "True" ]; then grep 'Likelihood = 6048.0' output/planck.log; fi - if [ "$OLD_CAMB" == "False" ]; then grep 'Likelihood = 6048.1' output/planck.log; fi + if [ "$OLD_CAMB" == "True" ]; then grep 'Likelihood = 6048.0' output/des-y3-mt.log; fi + if [ "$OLD_CAMB" == "False" ]; then grep 'Likelihood = 6048.1' output/des-y3-mt.log; fi - name: DES Y3 likelihood with Mead nonlinear shell: bash -l {0} run: | source cosmosis-configure - cosmosis examples/des-y3.ini -v halo_model_parameters.logT_AGN=8.2 -p camb.halofit_version=mead2020_feedback | tee output/des-y3.log + cosmosis examples/des-y3.ini -v halo_model_parameters.logT_AGN=8.2 -p camb.halofit_version=mead2020_feedback | tee output/des-y3-mead.log OLD_CAMB=$(python -c 'import camb;vs=camb.__version__.split(".");print(float(vs[0]+"."+vs[1])<1.4)') - if [ "$OLD_CAMB" == "True" ]; then grep 'Likelihood = 6049.94' output/planck.log; fi - if [ "$OLD_CAMB" == "False" ]; then grep 'Likelihood = 6049.00' output/planck.log; fi + if [ "$OLD_CAMB" == "True" ]; then grep 'Likelihood = 6049.94' output/des-y3-mead.log; fi + if [ "$OLD_CAMB" == "False" ]; then grep 'Likelihood = 6049.00' output/des-y3-mead.log; fi - name: Euclid emulator shell: bash -l {0}