Skip to content

Commit

Permalink
fix file paths
Browse files Browse the repository at this point in the history
  • Loading branch information
joezuntz committed Feb 28, 2023
1 parent 26444a5 commit 174929d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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}
Expand Down

0 comments on commit 174929d

Please sign in to comment.