Skip to content

Commit

Permalink
Add path to override packages_path set, for instance, within cobaya/c…
Browse files Browse the repository at this point in the history
…onfig.yaml
  • Loading branch information
xgarrido committed Apr 10, 2024
1 parent 8bb1e78 commit a37e2d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pspipe_utils/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ def extract_sacc_spectra(likelihood_name, input_file, cov_Bbl_file=None):

my_like = likelihood_class(
{
"path": os.path.realpath(input_file).replace(input_file, ""),
"data_folder": os.path.dirname(input_file),
"input_file": os.path.basename(input_file),
"cov_Bbl_file": os.path.basename(cov_Bbl_file) if cov_Bbl_file else None,
Expand Down

0 comments on commit a37e2d6

Please sign in to comment.