Summary
I'm trying to get the following BIDS-valid output:
sub-0061_echo-1_part-mag_MEGRE.nii.gz Related Github issue at bids-specification: https://github.com/bids-standard/bids-specification/issues/979
However, it seems like echo is automatically generated by HeuDiConv to appear directly before _MEGRE, making it BIDS invalid (echo has to come before part).
The relevant part of my heuristic:
megre_mag = create_key('sub-{subject}/{session}/anat/sub-{subject}_{session}_part-mag_MEGRE')
I omit echo because it otherwise will generate 2 instances of echo in my output.
Platform details:
Choose one: