Skip to content

json creation when converting from nnUNetV2 to BIDS  #20

@tzebre

Description

@tzebre

Linked to PR#15
The BIDS format contains a json file for each nifti file in the dataset.
The json file contains 2 fields (see our convention at the end of the Derivatives Structure section):

  • Author
  • Date of creation
{
    "Author": "Sandrine Bedard",
    "Date": "2021-06-08 15:05:54"
}

In the nnunetV2_to_bids.py script, we create a BIDS dataset from an nnUNet dataset.
We have 2 choices in the case of script-generated BIDS.
The script create the json file:

{
    "Author": "nnUNetV2_to_bids.py from nnUNet dataset NAME OF DATASET",
    "Date": "2023-06-27 14:00:51"
}

Or the reviewer creates the JSON when they manually review the file.

Do you have any ideas on what choice we need to implement?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions