From 2d7d0841f2ba38c9f3b070b6348ed0bacd740ace Mon Sep 17 00:00:00 2001 From: Bernd Date: Thu, 29 Aug 2024 14:38:53 +0200 Subject: [PATCH] Fixed linting issues --- brain_pipe/preprocessing/brain/link.py | 5 +++-- brain_pipe/utils/parallellization.py | 3 --- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/brain_pipe/preprocessing/brain/link.py b/brain_pipe/preprocessing/brain/link.py index e63a1e2..8b350d9 100644 --- a/brain_pipe/preprocessing/brain/link.py +++ b/brain_pipe/preprocessing/brain/link.py @@ -266,6 +266,7 @@ def get_multiprocessing_dict(cls): def get_multiprocessing_condition(cls): """Get the multiprocessing condition.""" if cls._multiprocessing_condition is None: - cls._multiprocessing_condition = MultiprocessingSingleton.get_manager().Condition() + cls._multiprocessing_condition = ( + MultiprocessingSingleton.get_manager().Condition() + ) return cls._multiprocessing_condition - diff --git a/brain_pipe/utils/parallellization.py b/brain_pipe/utils/parallellization.py index 36a50d0..f975b9f 100644 --- a/brain_pipe/utils/parallellization.py +++ b/brain_pipe/utils/parallellization.py @@ -141,6 +141,3 @@ def get_manager(cls): if cls._manager is None: cls._manager = multiprocess.Manager() return cls._manager - - -