Skip to content
This repository was archived by the owner on Feb 8, 2025. It is now read-only.

len(AFQDataset.sessions) is not equal to len(AFQDataset.subjects #132

@arokem

Description

@arokem

For datasets with multiple sessions per subject, I would expect that the length of the AFQDataset.sessions would be the same as the length of AFQDataset.subjects and that both of these would be the same as the number of rows in AFQDataset.X. However, currently, this is the way that AFQData.sessions is initialized:

https://github.com/richford/AFQ-Insight/blob/cc6e35cb1e46c76cb91e481bf29da683dffefcb0/afqinsight/datasets.py#L222

which means that it has the length of the original data (in the long format).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions