Commit 5c3e7d3
committed
ENH: Use a boolean to tell whether to serialize the pandas df index
Use a boolean to tell whether to serialize the pandas dataframe index.
Fixes:
```
scripts/dwi_gp_estimation_error_analysis.py:220: error:
No overload variant of "to_csv" of "NDFrame" matches argument types "Any", "str", "None", "str" [call-overload]
scripts/dwi_gp_estimation_error_analysis.py:220: note: Possible overload variants:
scripts/dwi_gp_estimation_error_analysis.py:220: note: def (...)
```
raised for example in:
https://github.com/nipreps/nifreeze/actions/runs/12437972140/job/34728973936#step:8:1211 parent 97d9edf commit 5c3e7d3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| |||
0 commit comments