Skip to content

Commit f385ca6

Browse files
benedikt-voelkelBenedikt Volkel
andauthored
Bug fix efficiency path (#707)
Co-authored-by: Benedikt Volkel <[email protected]>
1 parent 806f2a2 commit f385ca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

machine_learning_hep/analysis/analyzerdhadrons_mult.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def makenormyields(self):
461461
# Choose where efficiencies to take from. Either this mult. bin, another mult. bin
462462
# in this analysis or another mult. bin from another analysis specified explicitly
463463
# by the user.
464-
fileouteff = "{self.d_resultsallpmc}/efficiencies{self.case}{self.typean}.root" \
464+
fileouteff = f"{self.d_resultsallpmc}/efficiencies{self.case}{self.typean}.root" \
465465
if not self.path_file_eff[imult] else self.path_file_eff[imult]
466466
if not os.path.exists(fileouteff):
467467
self.logger.fatal("Efficiency file %s could not be found", fileouteff)

0 commit comments

Comments
 (0)