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
284 stars 128 forks source link

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

Closed oesteban closed 2 months ago

oesteban commented 2 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.