yeatmanlab / AFQ-Insight

Statistical learning for AFQ results
http://yeatmanlab.github.io/AFQ-Insight/
BSD 3-Clause "New" or "Revised" License
10 stars 10 forks source link

Number of rows in `AFQDataset.X` depends on `concat_subject_session` #133

Open arokem opened 1 year ago

arokem commented 1 year ago

I think that this is somewhat related to #132, but a separate issue. When reading a dataset with multiple sessions per subject using AFQDataset.from_files, the number of rows in AFQDataset depends on the value of the concat_subject_session key-word argument. The correct value of subject/session combinations appears only in the case where concat_subject_sesion = True. Otherwise, some rows (subject/session combinations) that should have appeared in the result do not appear (less rows than expected).