Skip to content

Preserve properties when changing runitem datatype or suffix #286

@marcelzwiers

Description

@marcelzwiers

Contrary to the attributes, in which the value are taken fro the data, the properties are user set, so they should be preserved in the same way as the bids entities are.

To reproduce run:

bidsmapper bids_in bids_out -t bidsmap_bids2bids -p nibabel2bids

Then cange some datatypes or suffixes in the bidseditor, and run:

bidscoiner bids_in bids_out

Now you get errors like:

ERROR | Skipping unknown run: [Nibabel]                                                                       
         /project/[..] 
         -> Re-run the bidsmapper and delete /project/[..] to solve this warning

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions