Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion scripts/corrections/make_theory_corr_ew.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@
type=str,
help="axes to project to",
)
parser.add_argument(
Comment thread
davidwalter2 marked this conversation as resolved.
"--postfix",
required=True,
type=str,
help="String to append to output file name to distinguish different corrections, e.g. 'horace' or 'winhac'",
)
parser.add_argument(
"--outname", type=str, default=None, help="Output name for correction file"
)
Expand Down Expand Up @@ -247,7 +253,7 @@ def make_correction(h1, h2, name):
outname = name.replace("-", "")
if args.postfix:
outname += f"_{args.postfix}"
outfile = f"{args.outpath}/{outname}Corr{args.proc}.pkl.lz4"
outfile = f"{args.outpath}/{outname}Corr{args.postfix}.pkl.lz4"

if "Zmumu" in corr_dict:
output_tools.write_lz4_pkl_output(
Expand Down
Loading