-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
json creation when converting from nnUNetV2 to BIDS #20
Comments
Better to have it done automatically, no? Humans make mistakes |
Yes, of course. In the case the nnUNet dataset is the result of an nnUNet prediction:
|
Not necessarily. It just means that the label was created by nnUNet. Then, if the label is reviewed by a human, we should concatenate the reviewer(s) to the "nnUNet" entry. Ex: we could append another structure below:
|
Yes really good idea. |
Tagging @valosekj @sandrinebedard because they are involved in the "neuropoly good-practice SOP for label creation", so that idea could be implemented in our SOP |
Thank you for coming up with this relevant question, @tzebre! A bit of context: currently, we store JSON sidecars for manually corrected label files (SC seg, disc labeling, etc.) to track the information about who performed manual corrections. If multiple users did corrections, we store all of them (see here). I think this issue opens a broader question: do we want to generate JSON sidecars for automatically generated files? I would vote for it. We could store the algorithm (e.g., propseg vs deepseg_sc vs nnUNet, etc.) and its version. |
Yes, definitely. This is extremely important for tracking provenance. Storing the algorithm and the version is important. |
Okay! I found that SCT already has an open issue (spinalcordtoolbox/spinalcordtoolbox#3394) about this topic --> discussion redirected there. |
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):
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:
Or the reviewer creates the JSON when they manually review the file.
Do you have any ideas on what choice we need to implement?
The text was updated successfully, but these errors were encountered: