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 - - -