From bd290fc7d9f213e791920b05307c0f55c75629f5 Mon Sep 17 00:00:00 2001 From: Patrick Sadil Date: Tue, 1 Oct 2024 23:24:57 -0400 Subject: [PATCH] repair quotes --- fmriprep/utils/tests/test_derivative_cache.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fmriprep/utils/tests/test_derivative_cache.py b/fmriprep/utils/tests/test_derivative_cache.py index 6aebf5d9..5641434e 100644 --- a/fmriprep/utils/tests/test_derivative_cache.py +++ b/fmriprep/utils/tests/test_derivative_cache.py @@ -22,11 +22,11 @@ def test_transforms_found_as_str(tmp_path: Path, xfm: str): 'extension': '.nii.gz', } if xfm == 'boldref2fmap': - to_find = f'sub-{entities['subject']}_task-{entities['task']}_from-{spec['from']}_to-auto00000_mode-image_xfm.txt' # noqa: E501 + to_find = f'sub-{entities["subject"]}_task-{entities["task"]}_from-{spec["from"]}_to-auto00000_mode-image_xfm.txt' # noqa: E501 else: - to_find = f'sub-{entities['subject']}_task-{entities['task']}_from-{spec['from']}_to-{spec['to']}_mode-image_xfm.txt' # noqa: E501 + to_find = f'sub-{entities["subject"]}_task-{entities["task"]}_from-{spec["from"]}_to-{spec["to"]}_mode-image_xfm.txt' # noqa: E501 - funcd = tmp_path / f'sub-{entities['subject']}' / 'func' + funcd = tmp_path / f'sub-{entities["subject"]}' / 'func' funcd.mkdir(parents=True) (funcd / to_find).touch()