Skip to content

Commit 7c0b2c8

Browse files
STY: Apply ruff/Pyflakes preview rule F841
F841 Local variable is assigned to but never used
1 parent 03cc772 commit 7c0b2c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fmriprep/workflows/bold/fit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def init_bold_fit_wf(
229229
metadata = layout.get_metadata(bold_file)
230230
orientation = ''.join(nb.aff2axcodes(nb.load(bold_file).affine))
231231

232-
bold_tlen, mem_gb = estimate_bold_mem_usage(bold_file)
232+
_bold_tlen, mem_gb = estimate_bold_mem_usage(bold_file)
233233

234234
# Boolean used to update workflow self-descriptions
235235
multiecho = len(bold_series) > 1
@@ -794,7 +794,7 @@ def init_bold_native_wf(
794794
bold_file = bold_series[0]
795795
metadata = all_metadata[0]
796796

797-
bold_tlen, mem_gb = estimate_bold_mem_usage(bold_file)
797+
_bold_tlen, mem_gb = estimate_bold_mem_usage(bold_file)
798798

799799
if multiecho:
800800
shapes = [nb.load(echo).shape for echo in bold_series]

0 commit comments

Comments
 (0)