Reordering is a workaround for https://github.com/nipy/heudiconv/issues/859 -- it appears that when multiple matching parameters are given, Heudiconv runs all the checks but effectively only considers the last parameter. By putting CustomAcquisitionLabel last, we make sure that the assignment is done according to the label (and once this is fixed, the order should not matter). This runs the risk of an acquisition with mismatched shims being assigned, but shims mismatch (within a label) has been very unusual so far, so assigning by label is probably preferrable. However, thhis is something that could warrant some additional QC. ImagingVolume is removed because it changes little in practice (we're working with a limited set of acquisitions) while requiring Heudiconv to check image headers. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| heuristic-q01.py | ||
| reidentify.py | ||