From 247c00922e234a4ec7f2b4dd6f76b7b708048e46 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Fri, 29 Mar 2024 12:35:31 +0000 Subject: [PATCH] refactor: remove blank lines after docstring There shouldn't be any blank lines after the function docstring. Remove the blank lines to fix this issue. --- hsf/multispectrality.py | 1 - 1 file changed, 1 deletion(-) diff --git a/hsf/multispectrality.py b/hsf/multispectrality.py index f1db0b5..c54e1ed 100644 --- a/hsf/multispectrality.py +++ b/hsf/multispectrality.py @@ -30,7 +30,6 @@ def get_second_contrast(mri: PosixPath, pattern: str) -> Optional[PosixPath]: Returns: Optional[PosixPath]: Path to the second contrast. """ - if pattern: second_contrast = list(mri.parent.glob(pattern)) assert len(