Handle multiple sessions in XNAT
Subjects with multiple sessions are badly handled at the moment:
-
detect erroneous sessions (most likely have "unknown" / None as an ID -
generate one MRSession per scan in XNAT (and thus one XML file)
Eventually that will impact webui query scripts (might have to query only a single session at once through REST API).