From c1320f00c5afef7c9e20924340bb215ca28248fa Mon Sep 17 00:00:00 2001 From: Vanya Belyaev Date: Fri, 2 Feb 2024 09:36:34 +0100 Subject: [PATCH] fix verbosity --- ostap/parallel/parallel_copy.py | 2 +- ostap/parallel/parallel_pathos.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ostap/parallel/parallel_copy.py b/ostap/parallel/parallel_copy.py index a639b749..ab6398bb 100644 --- a/ostap/parallel/parallel_copy.py +++ b/ostap/parallel/parallel_copy.py @@ -86,7 +86,7 @@ def copy_files ( file_pairs , progress = True , maxfiles = 5 , copier = None , * task = CopyTask ( copier = copier ) - wmgr = WorkManager ( silent = not progress , **kwargs ) + wmgr = WorkManager ( silent = not progress , progress = progress , **kwargs ) if maxfiles < 1 : maxfiles = 1 diff --git a/ostap/parallel/parallel_pathos.py b/ostap/parallel/parallel_pathos.py index 21004091..89989f23 100644 --- a/ostap/parallel/parallel_pathos.py +++ b/ostap/parallel/parallel_pathos.py @@ -122,7 +122,7 @@ def __init__( self , from ostap.parallel.utils import get_workers ppservers = get_workers( 'Pathos' , 'OSTAP_PPSERVERS' , local_host ) - ## use Paralell python if ppservers are specified or explicit flag + ## use Parallel python if ppservers are specified or explicit flag if ppservers or kwa.pop ( 'PP' , False ) or kwa.pop ( 'Parallel' , False ) : ## remove duplicates (if any) - do not sort!