Skip to content

Commit

Permalink
Fixed linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
berndie committed Aug 29, 2024
1 parent 360f0eb commit 2d7d084
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 3 additions & 2 deletions brain_pipe/preprocessing/brain/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

3 changes: 0 additions & 3 deletions brain_pipe/utils/parallellization.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,3 @@ def get_manager(cls):
if cls._manager is None:
cls._manager = multiprocess.Manager()
return cls._manager



0 comments on commit 2d7d084

Please sign in to comment.