diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0d2f8e4..119e92f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: 'v0.16.4' + rev: 'v0.16.5' hooks: # Run the linter. - id: ruff-check diff --git a/docs/roi.md b/docs/roi.md index 6fb8d2d..d110352 100644 --- a/docs/roi.md +++ b/docs/roi.md @@ -92,10 +92,8 @@ and save them as new NIfTI files with the same affine as the original image. ```python concentration_files = list( - sorted( - (mri_data_dir / "mri-processed/mri_processed_data/sub-01/concentrations").glob("sub-01_ses-0*_concentration.nii.gz") - ) - ) + sorted((mri_data_dir / "mri-processed/mri_processed_data/sub-01/concentrations").glob("sub-01_ses-0*_concentration.nii.gz")) +) ``` ```python