Skip to content

Commit

Permalink
Update machine_learning_hep/processer.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jochen Klein <[email protected]>
  • Loading branch information
DelloStritto and qgp authored Feb 7, 2025
1 parent b185ab0 commit 54b15a8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions machine_learning_hep/processer.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,9 @@ def __init__(self, case, datap, run_param, mcordata, p_maxfiles, # pylint: disab
for ipt in range(self.p_nptbins)]
self.f_evt_count_ml = os.path.join(self.d_pkl_ml, self.n_evt_count_ml)

if self.n_gen_sl:
self.lpt_gensk_sl = [self.n_gen_sl.replace(".p", "_%s%d_%d.p" % \
(self.v_var_binning, self.lpt_anbinmin[i], self.lpt_anbinmax[i])) \
for i in range(self.p_nptbins)]
self.lpt_gensk_sl = [self.n_gen_sl.replace(".p", "_%s%d_%d.p" %
(self.v_var_binning, self.lpt_anbinmin[i], self.lpt_anbinmax[i]))
for i in range(self.p_nptbins)] if self.n_gen_sl else None

self.lpt_recodec = None
if self.doml is True:
Expand Down

0 comments on commit 54b15a8

Please sign in to comment.