Commit b4e47b7
committed
FIX: Provide FD arguments to combined plot function in BOLD notebook
Provide FD arguments to combined plot function in BOLD notebook.
Fixes:
```
File "/home/runner/work/nifreeze/nifreeze/docs/notebooks/bold_realignment.py", line 275, in main
plot_combined_profile(
TypeError: main.<locals>.plot_combined_profile() missing 2 required positional arguments: 'afni_fd' and 'nifreeze_fd'
```
raised for example in:
https://github.com/nipreps/nifreeze/actions/runs/15007162520/job/42168515561?pr=117#step:14:2223
Take advantage of the commit to rename the function definition variables
so that they do not shadow the outer variables.1 parent ebfcbd8 commit b4e47b7
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| 301 | + | |
| 302 | + | |
301 | 303 | | |
302 | 304 | | |
303 | 305 | | |
| |||
0 commit comments