Closed dominikbach closed 8 months ago
allnames
to record the name from all sessions. The logic is sensible to me.allnames
can be updated when there are new values from in.names{iCond}
. The updated allnames
becomes an array, such as {'a1','a2'}
. I expect in.names{iCond}
to be always a simple string so that the strcmpi
can be executed to see if allnames
has included in.names{iCond}
.allnames{iCond}
and is unique in it) and then obtain the tags from temptiming(iFile)
. I find the logic makes sense to me.pspm_glm
iSn
. The current logic will make line 396 be executed at the same condition of line 409--414, but line 396 is separated written. Would it be easier to read if more line 396 to the level of line 409--414?Thanks @teddychao for spotting these stylistic points - they are fixed now.
pspm_glm
re-sorts conditions across multiple sessions. The same functionality is required forpspm_extract_segments
. Hence, I moved this functionality topspm_get_timing
from where it is accessible to both functions.