Skip to content

Commit

Permalink
add delimiter option to get_covariances_list
Browse files Browse the repository at this point in the history
  • Loading branch information
thibautlouis committed Mar 10, 2024
1 parent d162df1 commit 5522d96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pspipe_utils/pspipe_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def get_spectra_list(dict):

return n_spec, sv1_list, ar1_list, sv2_list, ar2_list

def get_covariances_list(dict):
def get_covariances_list(dict, delimiter="&"):
"""This function creates the lists over which mpi is done
when we parallelized over each covariance element
Expand All @@ -69,7 +69,7 @@ def get_covariances_list(dict):
"""

spec_name = get_spec_name_list(dict)
spec_name = get_spec_name_list(dict, delimiter)
na_list, nb_list, nc_list, nd_list = [], [], [], []
ncovs = 0

Expand Down

0 comments on commit 5522d96

Please sign in to comment.