Skip to content

Commit

Permalink
prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
Karim Benabed committed Jun 28, 2021
1 parent c6c9f5f commit 1cacf13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cobaya_files/readme_cobaya.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Those steps are performed automatically by the install script.
- If your cobaya installation does not contains a version>=15.0 of `clik`(this is the case if you have installed the cobaya external default cosmology files with a `cobaya-install cosmo -m /path/to/cobaya/packages` for cobaya 3.1), change the name of the directory `path/to/cobaya/packages/code/planck/` to `path/to/cobaya/packages/code/planck_old/`
- Create a link to your `clik` library installation (downloaded from [https://github.com/benabed/clik](https://github.com/benabed/clik)) to `path/to/cobaya/packages/code/planck`.

$> ln -s /path/to/clik path/to/cobaya/packages/code/planck
$> ln -s /path/to/clik path/to/cobaya/packages/code/planck

- Check whether astropy or pyfits is installed and accessible to cobaya, if not install astropy (`pip3 install astropy`)

Expand Down
5 changes: 3 additions & 2 deletions cobaya_files/spt3g_cobaya_install
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,11 @@ logtest(R,"Create exmaple parameter file params_SPT3GY1_class_base.yaml",sys.arg

print("\n\n")
if bew:
print(colors["BOLD"] + colors["BLUE"] + "Good to go !"+colors["NORMAL"])
print(colors["BOLD"] + colors["BLUE"] + "Good to go ! Test with "+colors["NORMAL"])
else:
print(colors["BOLD"] + colors["BLUE"] + "You need to install astropy or pyfits (see above) before testing with"+colors["NORMAL"])
print("test with cobaya-run params_SPT3GY1_class_base.yaml")
print(" COBAYA_PACKAGES_PATH=%s cobaya-run %s/params_SPT3GY1_class_base.yaml"%(sys.argv[1],os.getcwd()))
print("")
sys.exit(0)


Expand Down

0 comments on commit 1cacf13

Please sign in to comment.