From c92f653b14cf2e4bea77026ef874741ab0d970de Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Sat, 9 Nov 2024 11:28:38 -0500 Subject: [PATCH] Run ruff. --- fmriprep/utils/bids.py | 2 +- fmriprep/workflows/bold/fit.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fmriprep/utils/bids.py b/fmriprep/utils/bids.py index 06219f6d..24d886e6 100644 --- a/fmriprep/utils/bids.py +++ b/fmriprep/utils/bids.py @@ -428,7 +428,7 @@ def get_associated(source_files, query, entity_overrides, layout): query.update(entity_overrides) associated = [] for source_file in source_files: - associated.append(layout.get_nearest(source_file, strict=True,**query)) + associated.append(layout.get_nearest(source_file, strict=True, **query)) if len(associated) not in (0, len(source_files)): raise ValueError( diff --git a/fmriprep/workflows/bold/fit.py b/fmriprep/workflows/bold/fit.py index f2804b90..01bff51d 100644 --- a/fmriprep/workflows/bold/fit.py +++ b/fmriprep/workflows/bold/fit.py @@ -43,10 +43,10 @@ ) from ...utils.bids import extract_entities, get_associated from ...utils.misc import estimate_bold_mem_usage +from .denoise import init_bold_dwidenoise_wf # BOLD workflows from .hmc import init_bold_hmc_wf -from .denoise import init_bold_dwidenoise_wf from .outputs import ( init_ds_boldmask_wf, init_ds_boldref_wf,