Skip to content

Commit 3174a8b

Browse files
committed
Doc + entity for raw data
1 parent 8d1b188 commit 3174a8b

File tree

7 files changed

+45
-34
lines changed

7 files changed

+45
-34
lines changed

provenance_manual/README.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,27 @@ This example aims at showing provenance metadata for a study dataset in which se
1313
.
1414
├── dataset_description.json
1515
├── derivatives
16-
│ └── segmentations
16+
│ └── seg
1717
│ ├── dataset_description.json
18+
│ ├── descriptions.tsv
19+
│ ├── docs
20+
│ │ └── prov.jsonld
21+
│ ├── prov
22+
│ │ ├── provenance.tsv
23+
│ │ ├── prov-seg_desc-exp1_act.json
24+
│ │ ├── prov-seg_desc-exp1_soft.json
25+
│ │ ├── prov-seg_desc-exp2_act.json
26+
│ │ └── prov-seg_desc-exp2_soft.json
1827
│ └── sub-001
1928
│ └── anat
2029
│ ├── sub-001_space-orig_desc-exp1_dseg.json
2130
│ ├── sub-001_space-orig_desc-exp1_dseg.nii.gz
2231
│ ├── sub-001_space-orig_desc-exp2_dseg.json
23-
│ ├── sub-001_space-orig_desc-exp2_dseg.nii.gz
24-
│ ├── sub-001_space-orig_desc-exp3_dseg.json
25-
│ └── sub-001_space-orig_desc-exp3_dseg.nii.gz
26-
├── docs
27-
│ └── prov.jsonld
28-
├── prov
29-
│ ├── provenance.tsv
30-
│ ├── prov-seg1_act.json
31-
│ ├── prov-seg1_soft.json
32-
│ ├── prov-seg2_act.json
33-
│ ├── prov-seg2_soft.json
34-
│ ├── prov-seg3_act.json
35-
│ └── prov-seg3_soft.json
32+
│ └── sub-001_space-orig_desc-exp2_dseg.nii.gz
3633
├── README.md
3734
└── sourcedata
3835
└── raw
36+
├── dataset_description.json
3937
├── participants.tsv
4038
└── sub-001
4139
└── anat

provenance_manual/derivatives/seg/dataset_description.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"Boris Clénet"
88
],
99
"DatasetLinks": {
10-
"raw": "../../sourcedata/raw",
11-
}
10+
"raw": "../../sourcedata/raw"
11+
},
12+
"GeneratedBy": [
13+
{"Name": ""}
14+
]
1215
}

provenance_manual/docs/prov.jsonld renamed to provenance_manual/derivatives/seg/docs/prov.jsonld

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
"Label": "ITK-SNAP",
1515
"Version": "4.4.0",
1616
"AltIdentifier": "RRID:SCR_002010"
17-
},
18-
{
19-
"Id": "bids::prov#itksnap-zz55eds6",
20-
"Label": "ITK-SNAP",
21-
"Version": "4.4.0",
22-
"AltIdentifier": "RRID:SCR_002010"
2317
}
2418
],
2519
"Activities": [
@@ -44,20 +38,27 @@
4438
"Used": [
4539
"bids:raw:sub-001/anat/sub-001_T1w.nii.gz"
4640
]
41+
}
42+
],
43+
"ProvEntities": [
44+
{
45+
"Id": "bids:raw:sub-001/anat/sub-001_T1w.nii.gz",
46+
"Label": "sub-001/anat/sub-001_T1w.nii.gz",
47+
"AtLocation": "../../sourcedata/raw/sub-001/anat/sub-001_T1w.nii.gz"
4748
},
4849
{
49-
"Id": "bids::prov#segmentation-af6s5v2d",
50-
"Label": "Semi-automatic brain segmentation",
51-
"Command": "itk-snap sourcedata/raw/sub-001/anat/sub-001_T1w.nii.gz",
52-
"AssociatedWith": [
53-
"bids::prov#itksnap-zz55eds6"
54-
],
55-
"Used": [
56-
"bids:raw:sub-001/anat/sub-001_T1w.nii.gz"
57-
]
50+
"Id": "bids::sub-001/anat/sub-001_space-orig_desc-exp1_dseg.nii.gz",
51+
"Label": "sub-001_space-orig_desc-exp1_dseg.nii.gz",
52+
"AtLocation": "sub-001/anat/sub-001_space-orig_desc-exp1_dseg.nii.gz",
53+
"GeneratedBy": "bids::prov#segmentation-nO5RGsrb"
54+
},
55+
{
56+
"Id": "bids::sub-001/anat/sub-001_space-orig_desc-exp2_dseg.nii.gz",
57+
"Label": "sub-001_space-orig_desc-exp2_dseg.nii.gz",
58+
"AtLocation": "sub-001/anat/sub-001_space-orig_desc-exp2_dseg.nii.gz",
59+
"GeneratedBy": "bids::prov#segmentation-mOOypIYB"
5860
}
5961
],
60-
"ProvEntities": [],
6162
"Environments": []
6263
}
6364
}
65 KB
Loading
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"ProvEntities": [
3+
{
4+
"Id": "bids:raw:sub-001/anat/sub-001_T1w.nii.gz",
5+
"Label": "sub-001/anat/sub-001_T1w.nii.gz",
6+
"AtLocation": "../../sourcedata/raw/sub-001/anat/sub-001_T1w.nii.gz"
7+
}
8+
]
9+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"GeneratedBy": "bids:study:prov#segmentation-nO5RGsrb"
2+
"GeneratedBy": "bids::prov#segmentation-nO5RGsrb"
33
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"GeneratedBy": "bids:study:prov#segmentation-mOOypIYB"
2+
"GeneratedBy": "bids::prov#segmentation-mOOypIYB"
33
}

0 commit comments

Comments
 (0)