Skip to content

Commit d4f3a2e

Browse files
committed
Remove whitespaces from the scripts
1 parent be00cdf commit d4f3a2e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

machine_learning_hep/scripts-dhadrons/adjusting-run2-run3/modify_crosssec_run2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def main():
6464
(hist.GetBinContent(bin1) * hist.GetBinWidth(bin1) +\
6565
hist.GetBinContent(bin2) * hist.GetBinWidth(bin2)) /\
6666
weight_sum)
67-
print(f"bin {bin1} error {hist.GetBinError(bin1)} bin2 {hist.GetBinError(bin2)}\n"
67+
print(f"bin {bin1} error {hist.GetBinError(bin1)} bin2 {hist.GetBinError(bin2)}\n"\
6868
f"scaled: {hist.GetBinWidth(bin1) * hist.GetBinError(bin1)}, "\
6969
f"{hist.GetBinWidth(bin2) * hist.GetBinError(bin2)}\n"\
7070
f"divided: {(hist.GetBinWidth(bin1) * hist.GetBinError(bin1)) / weight_sum}, "\

machine_learning_hep/scripts-dhadrons/debugging/config_fraction_vs_bdt_cuts.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"file_pattern": "/data8/majak/MLHEP/results-24022025-newtrain_fd_0.[0-9][0-9]0/LHC23pp_pass4/Results/resultsdatatot/finalcrossLcpKpiRun3analysis.root",
33
"_file_pattern": "glob pattern to all files with different BDT cuts",
4-
"dir_pattern": "results-24022025-newtrain_fd_0.[0-9][0-9]0",
4+
"dir_pattern": "results-24022025-newtrain_fd_0.[0-9][0-9]0",
55
"_dir_pattern": "the base directory prefix from the file pattern above",
66
"histoname": "gfraction",
77
"_histoname": "the prompt fraction histogram name",

machine_learning_hep/scripts-dhadrons/debugging/plot_prompt_fraction_vs_bdt_cuts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
file: plot_prompt_fraction_vs_fd_cuts.py
3-
brief: Plot prompt fraction from cross section calculations for different non-prompt cuts
3+
brief: Plot prompt fraction from cross section calculations for different non-prompt cuts
44
usage: python3 plot_prompt_fraction_vs_fd_cuts.py config_fraction_vs_fd_cuts.json
55
author: Maja Karwowska <[email protected]>, Warsaw University of Technology
66
"""

0 commit comments

Comments
 (0)