Skip to content

Commit

Permalink
Add missing f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
OmegaLambda1998 committed Oct 11, 2023
1 parent cbdf0d4 commit caf945a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pippin/biascor.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def get_simfile_biascor(self, ia_sims, fitopt_num=None):
def get_simfile_ccprior(self, cc_sims, fitopt_num=None):
if (cc_sims is not None) and (fitopt_num is None):
fitopt_num = [0 for _ in cc_sims]
return None if cc_sims is None else ",".join([os.path.join(cc_sims[i].output["fitres_dirs"][0], "FITOPT{n:03}.FITRES.gz") for (i, n) in enumerate(fitopt_num)])
return None if cc_sims is None else ",".join([os.path.join(cc_sims[i].output["fitres_dirs"][0], f"FITOPT{n:03}.FITRES.gz") for (i, n) in enumerate(fitopt_num)])

def get_fitopt_map(self, datas):
fitopts = {}
Expand Down

0 comments on commit caf945a

Please sign in to comment.