Skip to content

Commit 31bad99

Browse files
STY: Apply ruff/Pyflakes preview rule F841
F841 Local variable is assigned to but never used
1 parent 2df4922 commit 31bad99

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

233-
bold_tlen, mem_gb = estimate_bold_mem_usage(bold_file)
233+
_bold_tlen, mem_gb = estimate_bold_mem_usage(bold_file)
234234

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

795-
bold_tlen, mem_gb = estimate_bold_mem_usage(bold_file)
795+
_bold_tlen, mem_gb = estimate_bold_mem_usage(bold_file)
796796

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

0 commit comments

Comments
 (0)