Skip to content

Commit f07affd

Browse files
STY: Apply ruff/Pyflakes preview rule F841
F841 Local variable is assigned to but never used
1 parent 63c47fd commit f07affd

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
@@ -231,7 +231,7 @@ def init_bold_fit_wf(
231231
metadata = layout.get_metadata(bold_file)
232232
orientation = ''.join(nb.aff2axcodes(nb.load(bold_file).affine))
233233

234-
bold_tlen, mem_gb = estimate_bold_mem_usage(bold_file)
234+
_bold_tlen, mem_gb = estimate_bold_mem_usage(bold_file)
235235

236236
# Boolean used to update workflow self-descriptions
237237
multiecho = len(bold_series) > 1
@@ -793,7 +793,7 @@ def init_bold_native_wf(
793793
bold_file = bold_series[0]
794794
metadata = all_metadata[0]
795795

796-
bold_tlen, mem_gb = estimate_bold_mem_usage(bold_file)
796+
_bold_tlen, mem_gb = estimate_bold_mem_usage(bold_file)
797797

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

0 commit comments

Comments
 (0)