Skip to content

Commit 528b6a0

Browse files
STY: Apply ruff/Pyflakes rule F841
F841 Local variable is assigned to but never used
1 parent 975b001 commit 528b6a0

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
@@ -746,7 +746,7 @@ def init_bold_native_wf(
746746
bold_file = bold_series[0]
747747
metadata = all_metadata[0]
748748

749-
bold_tlen, mem_gb = estimate_bold_mem_usage(bold_file)
749+
_bold_tlen, mem_gb = estimate_bold_mem_usage(bold_file)
750750

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

0 commit comments

Comments
 (0)