Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Feb 8, 2024
1 parent 3995958 commit 714a9a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ostap/frames/tree_reduce.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def __init__ ( self ,
ne = len ( self.__chain )
ff = float ( nb * ne * 100 ) / ( nb0 * ne0 )

self.__report += '\n# Reduce: (%dx%d) -> (%dx%d) branches x entries => %.1f%% ' % ( nb0 , ne0 , nb , ne , ff ) )
self.__report += '\n# Reduce: (%dx%d) -> (%dx%d) branches x entries => %.1f%% ' % ( nb0 , ne0 , nb , ne , ff )
self.__report += '\n# Output:%s size:%s' % ( self.__output , fs )
## self.__report += '\n# %s' % str ( self.__chain )

Expand Down
5 changes: 2 additions & 3 deletions ostap/parallel/parallel_reduce.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,8 @@ def reduce ( chain ,
elif kb : fs = '%.1fkB' % ( float ( fs ) / 1024 )
else : fs = '%sB' % fs

logger.info ( 'Output:%s size:%s' % ( output , fs )


logger.info ( 'Output:%s size:%s' % ( output , fs ) )

return result

ROOT.TTree .preduce = reduce
Expand Down

0 comments on commit 714a9a7

Please sign in to comment.