Skip to content

Commit 17931a0

Browse files
committed
Remove the pylint disable which doesn't work
1 parent 33fe9ee commit 17931a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

machine_learning_hep/analysis/analyzerdhadrons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def fit(self):
291291
lpt_probcutfin[ipt] = self.lpt_probcutfin_tmp[self.bin_matching[ipt]]
292292
self.logger.debug("fitting %s - %i", level, ipt)
293293
roows = self.roows.get(ipt)
294-
if self.mltype == "MultiClassification": # pylint: disable=duplicate-code
294+
if self.mltype == "MultiClassification":
295295
suffix = "%s%d_%d_%.2f%.2f%.2f" % (
296296
self.v_var_binning,
297297
self.lpt_finbinmin[ipt],

machine_learning_hep/processerdhadrons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def process_histomass_single(self, index):
153153

154154
df_ptmerged = pd.concat([df_ptmerged, df], ignore_index=True)
155155

156-
if self.mltype == "MultiClassification": # pylint: disable=duplicate-code
156+
if self.mltype == "MultiClassification":
157157
suffix = "%s%d_%d_%.2f%.2f%.2f" % (
158158
self.v_var_binning,
159159
self.lpt_finbinmin[ipt],

0 commit comments

Comments
 (0)