From d9d04099993740fb63657d107445aefbb91b3fff Mon Sep 17 00:00:00 2001 From: Spiros Maggioros Date: Fri, 11 Oct 2024 12:25:08 +0300 Subject: [PATCH] Fixed pre-commit --- NiChart_DLMUSE/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NiChart_DLMUSE/utils.py b/NiChart_DLMUSE/utils.py index c353768..1888c8d 100644 --- a/NiChart_DLMUSE/utils.py +++ b/NiChart_DLMUSE/utils.py @@ -98,7 +98,7 @@ def make_img_list(in_data: str) -> pd.DataFrame: for tmp_ext in LIST_IMG_EXT: if line.strip().endswith(tmp_ext): is_nifti = True - if is_nifti == True: + if is_nifti is True: nii_files.append(os.path.abspath(line.strip())) nii_files = np.array(nii_files)