Skip to content

Pass different arguments to spec2nii plugin depending on run item #156

@schorschinho

Description

@schorschinho

Is your feature request related to a problem? Please describe.
Different MRS acquisitions may require passing optional arguments to the spec2nii plugin:

Two optional arguments are available for the SPAR/SDAT pathway:
-t/--tags allows the user to specify the dimension tags for each of the higher dimensions (up to three).
-s/--shape allows the user to perform numpy style reshaping of multiple transients. By default (without specifying a shape) all transients will be listed in a single 5th dimension.
(https://github.com/wtclarke/spec2nii)

For example, some spectral editing (or other multi-dimensional) data may require the transients to be reshaped with the -s flag.

Describe the solution you'd like
I'd like to be able to pass arguments to the spec2nii plugin depending on the run item.

Describe alternatives you've considered
I could probably design two different bidsmaps that specifically pick up the different MRS data types, and specify options separately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions