nipreps / mriqc

Automated Quality Control and visual reports for Quality Assessment of structural (T1w, T2w) and functional MRI of the brain
http://mriqc.readthedocs.io
Apache License 2.0
300 stars 132 forks source link

MAINT: Clean up more ``FutureWarning`` issued by pandas #1257

Closed oesteban closed 7 months ago

oesteban commented 7 months ago

When generating group reports, we were getting more of those:

/opt/conda/lib/python3.11/site-packages/mriqc/reports/group.py:242:
FutureWarning: Index.ravel returning ndarray is deprecated; in a future
version this will return a view on self.
  datacols = dataframe.columns.ravel().tolist()

Resolves: #1042. Partially-addressed-by: #1251.