ENH: add HeudiconvVersion to sidecar .json files #529
Merged
+30
−10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Unfortunately there is no convention yet in BIDS on storing such information in
a standardized way.
bids-standard/bids-specification#440
proposes to add GeneratedBy (within dataset_description.json)
which could provide detailed high level information which should then be
consistent through out dataset (so we would need to add safeguards)
bids-standard/bids-specification#487
is WiP to introduce PROV into BIDS standard, which would allow to establish
_prov.json with all needed gory details.
For now, since fields in side car .json files are not strictly regulated,
I think it would be benefitial to user to have heudiconv version stored there
along with other "Version" fields, such as
and although strictly speaking Heudiconv is a "conversion software", since
dcm2niix decided to use that pair, I have decided to leave it alone and just
come up with yet another descriptive key
"HeudiconvVersion": "0.10.0",