phantom-mri-dicoms/code
Michał Szczepanik 816d8dfe65 Reorder and reduce IntendedFor matching params
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.
2026-06-19 13:55:15 +02:00
..
.gitignore Avoid tracking Python bytecode 2025-09-04 12:43:56 +02:00
heuristic-q01.py Reorder and reduce IntendedFor matching params 2026-06-19 13:55:15 +02:00
reidentify.py Generalize pseudonymization to multi-context ID mapping 2025-08-31 15:52:14 +02:00