Bug fix in aas_connectAApipelines
Added ability to have missing data; e.g., subjects can be missing a session of fMRI data. The primary function for this ability is aas_getN_bydomain, which now returns the number of items in a domain, and the indices of those items. For example, if a subject is missing the 2nd of 3 EPI runs, aas_getN_bydomain(aap, 'session', SubjectIndex) would return [2, [1 3]], where 2 is the number of sessions, and [1 3] are their indices. AA required one change to the engine to support this, so that tasks aren't queued for sessions that don't have data (e.g., calling aamod_smooth for an empty session). Module author should be aware that when looping over items in a sub-domain, it is preferable to loop over the indices returned by aas_getNbydomain(), rather than the assumed number of items. For example, in a subject level module that loops over epi sessions, we shoudl loopover the indices returned rather than 1:aap.acq_details.sessions.
Misc changes related to previous submission: ability to have missing data streams
Miscellaneous updates aamod_norm_noss. 1) use spm.defaults.preproc options for regtype, tpm, etc. 2) Subject specific affine starting estimates
Merged changes from a large update: added ability to have missing sessions
Merge branch 'devel-share' of https://github.com/rhodricusack/automaticanalysis into devel-share