Skip to content

xASL_adm_GetPopulationSessions gives incorrect warning #655

@HenkMutsaerts

Description

@HenkMutsaerts

Description

xASL_adm_GetPopulationSessions was nicely written, but the check if the number of sessions differs between subjects is not working properly. It gave me a warning when I had two sessions. I did some code improvement (see first commit), and @MDijsselhof up to you to explain to me how this should work. My example was with a single subject, with two sessions, where CountSessionNumbers == [1 1] and CompareSessions = [2 2]. nSessions == 2, and NewList was a 2x1 cell array.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions