neurobagel / digest

Web dashboard for neuroimaging-derived and phenotypic datasets
https://digest.neurobagel.org
MIT License
2 stars 2 forks source link

[FIX] Remove requirement for equal {participants x sessions} across pipelines/assessments #144

Closed alyssadai closed 3 months ago

alyssadai commented 4 months ago

Changes proposed in this pull request:

Checklist

This section is for the PR reviewer

For new features:

For bug fixes:

alyssadai commented 4 months ago

Thanks for your comments @surchs!

I've made some additional changes including reverting back to using pivot instead of pivot_table due to some (documented) issues w/ the latter dropping NaNs silently that I didn't notice before. Tests and comments have also been updated to prevent this from coming back, and to capture some of the current peculiarities in the long-to-wide tabular data transform.

Let me know if the changes/comments make sense 🙂