Skip to content

Automatic placement of echo results in BIDS-invalid format #541

Closed
@andrew-yian-sun

Description

@andrew-yian-sun

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:

  • Local environment
  • Container: Docker, nipy/heudiconv:latest
  • Heudiconv version: 0.9.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions