Skip to content

Commit

Permalink
remove extra prints
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Apr 25, 2024
1 parent 3037bb8 commit c9d1400
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
6 changes: 0 additions & 6 deletions ostap/parallel/parallel_add_branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,6 @@ def add_new_branch ( chain ,
wmgr = WorkManager ( silent = not verbose , **kwargs )
trees = ch.split ( max_files = 1 )

import ostap.parallel.parallel as P
print ( 'PARALLEL' , P.worker , P.WorkManager , P.dill , P.DILL_PY3_issue )
print ( 'PICKLES/F' , function , P.pickles ( function ) )
print ( 'PICKLES/B' , branch_name , P.pickles ( branch_name ) )
print ( 'PICKLES/T' , task , P.pickles ( task ) )

wmgr.process ( task , trees )

nc = ROOT.TChain ( cname )
Expand Down
9 changes: 0 additions & 9 deletions ostap/parallel/parallel_pathos.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,15 +289,6 @@ def iexecute ( self , job , jobs_args , progress = False ) :
- no summary prin
- no merging of results
"""

print ('IEXCUTE', job, type ( job ) , jobs_args )
import ostap.parallel.parallel as P
print ( 'IEXECUTE/A' , type ( jobs_args), P.pickles ( jobs_args ) )
print ( 'IEXECUTE/J' , job , type ( job), P.pickles ( job ) )

print ( 'BADOBNJECTS' , P.dill.detect.badobjects ( job ) )
print ( 'BADTYPES' , P.dill.detect.badtypes ( job ) )
print ( 'ERRORS' , P.dill.detect.errors ( job ) )

with pool_context ( self.pool ) as pool :

Expand Down

0 comments on commit c9d1400

Please sign in to comment.