You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/modality-agnostic-files/provenance.md
+73-4Lines changed: 73 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,6 @@ context of the academic literature.
22
22
23
23
## Overview
24
24
25
-
### Goals
26
-
27
25
This part of the BIDS specification is aimed at describing the provenance of a BIDS dataset.
28
26
29
27
This description is retrospective, it describes a set of steps that were executed in order to obtain the dataset (this is different from prospective descriptions of workflows that could for instance list all sets of steps that can be run on this dataset).
@@ -36,7 +34,7 @@ Provenance information SHOULD be included in a BIDS dataset when possible.
36
34
37
35
If provenance information is included, it MUST be described using the conventions detailed by this specification.
38
36
39
-
Provenance information reflect the provenance of a full dataset and/or of specific files at any level of the BIDS hierarchy.
37
+
Provenance information reflects the provenance of a full dataset and/or of specific files at any level of the BIDS hierarchy.
40
38
41
39
Provenance information SHOULD not include human subject identifying data.
42
40
@@ -90,7 +88,7 @@ prov/
90
88
```
91
89
92
90
!!! note
93
-
The `prov` BIDS entity allow to group related provenance files, using an arbitrary value for `<label>`. A subdirectory MAY be used to organise provenance files, using an arbitrary value for `<subdir>`.
91
+
The `prov` BIDS entity allows to group related provenance files, using an arbitrary value for `<label>`. A subdirectory MAY be used to organise provenance files, using an arbitrary value for `<subdir>`.
94
92
95
93
The following suffixes specify the contents of provenance files.
96
94
@@ -545,6 +543,77 @@ Here are the contents of the `sub-001/anat/sub-001_T1w.json` file:
545
543
546
544
The metadata field `GeneratedBy` indicates that the `sub-001/anat/sub-001_T1w.nii.gz` file was generated by the previously described activity.
Here are the contents of the `prov/prov-dcm2niix_soft.json` file:
575
+
576
+
```JSON
577
+
{
578
+
"Software": [
579
+
{
580
+
"Id": "bids::prov#dcm2niix-70ug8pl5",
581
+
"Label": "dcm2niix",
582
+
"Version": "v1.1.3"
583
+
}
584
+
]
585
+
}
586
+
```
587
+
588
+
A software package is described using a provenance record inside the `Software` array. As mentioned in the [Consistency and uniqueness of identifiers](#consistency-and-uniqueness-of-identifiers) section, its identifier SHOULD start with `bids:<dataset>:prov#` (here, `bids::` refers to the current dataset).
589
+
590
+
Here are the contents of the `prov/prov-dcm2niix_act.json` file:
An activity is described using a provenance record inside the `Activities` array. Note that the identifier of the previously described software package is used here to describe that the software package was associated with this activity.
606
+
607
+
Here are the contents of the `sub-001/anat/sub-001_T1w.json` file:
608
+
609
+
```JSON
610
+
{
611
+
"GeneratedBy": "bids::prov#conversion-00f3a18f"
612
+
}
613
+
```
614
+
615
+
The metadata field `GeneratedBy` indicates that the `sub-001/anat/sub-001_T1w.nii.gz` file was generated by the previously described activity.
0 commit comments