Skip to content

Error when specific subjects are missing specific sessions. #401

Description

@TamerGezici

Hi all, this PR by @jones-michael-s and this (a5baa45) commit has broken aa for me.

Particularly, if a session doesn't exist for a subject, I was marking it using an empty array and that was dependent on the current session index.

https://github.com/automaticanalysis/automaticanalysis/blob/0c902d95f49bd23a37c7cda77960b6fa035cd1e6/aa_modules/aamod_epifromnifti.m#L19C1-L25C31

However, since the new code uses the first index and if a subject misses the very first session but has others available, I get an error because series{1} doesn't satisfy any of those conditions (whereas series{sess}) did before.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions