nencki-lobi / bids-flow

Connecting orthanc, heudiconv and mriqc
1 stars 0 forks source link

Regarding session in infotoids #7

Open bkossows opened 4 years ago

bkossows commented 4 years ago

Conversion does not start when there are two sessions of a different date within a subject - see BISAM_TEST1 and 2.

mslw commented 4 years ago

Would be good to establish how it can happen: as we spoke, it may also be same day but different head coils?

Can we also get into this problem if a subject (same subject ID) comes for another visit? We launch heudiconv with --files /data/$1 --subjects $1 so potentially yes. Are older DICOMS still in the data folder at this point?

This may or may not apply here, but in release notes for heudiconv v0.7.0 there is this:

-g option obtained two new modes: all and custom. In case of all, all provided DICOMs will be treated as coming from a single scanning session. custom instructs to use .grouping value (could be a DICOM attribute or a callable)provided by the heuristic

As per docs -g --grouping tells how to group dicoms, other options are studyUID (default) and accession_number.