Skip to content
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

Reformat json DeidentificationMethod #857

Conversation

CGSchwarzMayo
Copy link
Contributor

@CGSchwarzMayo CGSchwarzMayo commented Aug 30, 2024

Reformat json DeidentificationMethod

  • Was a single string separated by \\: "xx\\yy"
  • Now a json list ["xx", "yy"]

Addresses request by @yarikoptic in #813

* Was a single string separated by \\: "xx\\yy"
* Now a json list ["xx", "yy"]
@CGSchwarzMayo
Copy link
Contributor Author

The .json produced by dcm2niix seems to have a mix between these two conventions. This newly modified way for DeidentificationMethod matches ImageType and BidsGuess. The old way matched SoftwareVersions, SequenceVariant, ScanOptions, etc. This new way is, however, more consistent with the current version of the accompanying PR for DeidentificationMethod/CodeSequence in bids-standard/bids-specification#1772

@neurolabusc
Copy link
Collaborator

Closing this PR, if you want to reintroduce this, please re-base off of latest commit. See issue 861.

@CGSchwarzMayo
Copy link
Contributor Author

Now re-implemented in #871 as requested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants