@@ -107,9 +107,9 @@ def run_processor(
107107 mem_usage = memory_usage (proc = processor .process ,
108108 # only run process once
109109 max_iterations = 1 ,
110- interval = .1 , timeout = None , timestamps = True ,
110+ interval = .1 , timeout = None , timestamps = True ,
111111 # include sub-processes
112- multiprocess = True , include_children = True ,
112+ multiprocess = True , include_children = True ,
113113 # get proportional set size instead of RSS
114114 backend = backend )
115115 mem_usage_values = [mem for mem , _ in mem_usage ]
@@ -198,7 +198,7 @@ def run_cli(
198198
199199def generate_processor_help (ocrd_tool , processor_instance = None ):
200200 """Generate a string describing the full CLI of this processor including params.
201-
201+
202202 Args:
203203 ocrd_tool (dict): this processor's ``tools`` section of the module's ``ocrd-tool.json``
204204 processor_instance (object, optional): the processor implementation
@@ -281,7 +281,7 @@ def wrap(s):
281281
282282# Taken from https://github.com/OCR-D/core/pull/884
283283@freeze_args
284- @lru_cache (maxsize = environ .get ('OCRD_MAX_PROCESSOR_CACHE' , 128 ))
284+ @lru_cache (maxsize = environ .get ('OCRD_MAX_PROCESSOR_CACHE' , 128 ))
285285def get_cached_processor (parameter : dict , processor_class ):
286286 """
287287 Call this function to get back an instance of a processor.
0 commit comments