Skip to content

Commit 24679e5

Browse files
committed
All provenance traces and generated files
1 parent 960a1a0 commit 24679e5

13 files changed

+314
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"Acknowledgements": "TODO: whom you want to acknowledge",
3+
"Authors": [
4+
"TODO:",
5+
"First1 Last1",
6+
"First2 Last2",
7+
"..."
8+
],
9+
"BIDSVersion": "1.8.0",
10+
"DatasetDOI": "TODO: eventually a DOI for the dataset",
11+
"Funding": [
12+
"TODO",
13+
"GRANT #1",
14+
"GRANT #2"
15+
],
16+
"HowToAcknowledge": "TODO: describe how to acknowledge -- either cite a corresponding paper, or just in acknowledgement section",
17+
"License": "TODO: choose a license, e.g. PDDL (http://opendatacommons.org/licenses/pddl/)",
18+
"Name": "TODO: name of the dataset",
19+
"ReferencesAndLinks": [
20+
"TODO",
21+
"List of papers or websites"
22+
]
23+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"participant_id": {
3+
"Description": "Participant identifier"
4+
},
5+
"age": {
6+
"Description": "Age in years (TODO - verify) as in the initial session, might not be correct for other sessions"
7+
},
8+
"sex": {
9+
"Description": "self-rated by participant, M for male/F for female (TODO: verify)"
10+
},
11+
"group": {
12+
"Description": "(TODO: adjust - by default everyone is in control group)"
13+
}
14+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"bids::prov/conversion-00f3a18f": {
3+
"Label": "Conversion",
4+
"Command": "heudiconv --files sourcedata/hirni-demo/acq1/dicoms/example-dicom-structural-master/dicoms/*.dcm -o . -f sourcedata/hirni-demo/code/hirni-toolbox/converters/heudiconv/hirni_heuristic.py -s 01 -ss acq1 -c dcm2niix -b --minmeta --overwrite",
5+
"AssociatedWith": "bids::prov/heudiconv-a9x5yd3j",
6+
"Used": [
7+
"bids::prov/fedora-1cu6r6ou",
8+
"bids::sourcedata/hirni-demo/acq1/studyspec.json",
9+
"bids::sourcedata/hirni-demo/acq1/dicoms/example-dicom-structural-master/dicoms",
10+
"bids::sourcedata/hirni-demo/code/hirni-toolbox/converters/heudiconv/hirni_heuristic.py"
11+
]
12+
},
13+
"bids::prov/conversion-5a66f5be": {
14+
"Label": "Conversion",
15+
"Command": "heudiconv --files sourcedata/hirni-demo/acq2/dicoms/example-dicom-functional-master/dicoms/* -o . -f sourcedata/hirni-demo/code/hirni-toolbox/converters/heudiconv/hirni_heuristic.py -s 01 -ss acq2 -c dcm2niix -b --minmeta --overwrite",
16+
"AssociatedWith": "bids::prov/heudiconv-a9x5yd3j",
17+
"Used": [
18+
"bids::prov/fedora-pgrzf567",
19+
"bids::sourcedata/hirni-demo/acq2/studyspec.json",
20+
"bids::sourcedata/hirni-demo/acq2/dicoms/example-dicom-functional-master/dicoms",
21+
"bids::sourcedata/hirni-demo/code/hirni-toolbox/converters/heudiconv/hirni_heuristic.py"
22+
]
23+
}
24+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"@context": "https://purl.org/nidash/bidsprov/context.json",
3+
"BIDSProvVersion": "0.0.1"
4+
}
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"bids::sourcedata/hirni-demo/code/hirni-toolbox/converters/heudiconv/hirni_heuristic.py": {
3+
"Label": "heuristic"
4+
},
5+
"bids::sourcedata/hirni-demo/acq1/studyspec.json": {
6+
"Label": "studyspec"
7+
},
8+
"bids::sourcedata/hirni-demo/acq2/studyspec.json": {
9+
"Label": "studyspec"
10+
},
11+
"bids::sourcedata/hirni-demo/acq1/dicoms/example-dicom-structural-master/dicoms": {
12+
"Label": "dicoms"
13+
},
14+
"bids::sourcedata/hirni-demo/acq2/dicoms/example-dicom-functional-master/dicoms": {
15+
"Label": "dicoms"
16+
},
17+
"bids::CHANGES": {
18+
"Label": "CHANGES",
19+
"GeneratedBy": [
20+
"bids::prov/conversion-00f3a18f",
21+
"bids::prov/conversion-5a66f5be"
22+
]
23+
},
24+
"bids::README": {
25+
"Label": "README",
26+
"GeneratedBy": [
27+
"bids::prov/conversion-00f3a18f",
28+
"bids::prov/conversion-5a66f5be"
29+
]
30+
},
31+
"bids::dataset_description.json": {
32+
"Label": "dataset_description.json",
33+
"GeneratedBy": [
34+
"bids::prov/conversion-00f3a18f",
35+
"bids::prov/conversion-5a66f5be"
36+
]
37+
},
38+
"bids::participants.json": {
39+
"Label": "participants.json",
40+
"GeneratedBy": [
41+
"bids::prov/conversion-00f3a18f",
42+
"bids::prov/conversion-5a66f5be"
43+
]
44+
},
45+
"bids::participants.tsv": {
46+
"Label": "participants.tsv",
47+
"GeneratedBy": [
48+
"bids::prov/conversion-00f3a18f",
49+
"bids::prov/conversion-5a66f5be"
50+
]
51+
},
52+
"bids::scans.json": {
53+
"Label": "scans.json",
54+
"GeneratedBy": [
55+
"bids::prov/conversion-00f3a18f",
56+
"bids::prov/conversion-5a66f5be"
57+
]
58+
},
59+
"bids::task-oneback_bold.json": {
60+
"Label": "task-oneback_bold.json",
61+
"GeneratedBy": [
62+
"bids::prov/conversion-00f3a18f",
63+
"bids::prov/conversion-5a66f5be"
64+
]
65+
}
66+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"bids::prov/fedora-1cu6r6ou": {
3+
"Label": "Fedora release 36 (Thirty Six)",
4+
"OperatingSystem": "GNU/Linux 6.2.15-100.fc36.x86_64",
5+
"EnvVars": {
6+
"HIRNI_STUDY_SPEC": "sourcedata/hirni-demo/acq1/studyspec.json"
7+
}
8+
},
9+
"bids::prov/fedora-pgrzf567": {
10+
"Label": "Fedora release 36 (Thirty Six)",
11+
"OperatingSystem": "GNU/Linux 6.2.15-100.fc36.x86_64",
12+
"EnvVars": {
13+
"HIRNI_STUDY_SPEC": "sourcedata/hirni-demo/acq2/studyspec.json"
14+
}
15+
}
16+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"bids::prov/heudiconv-a9x5yd3j": {
3+
"Label": "Heudiconv",
4+
"Version": "v1.3.2"
5+
}
6+
}

examples/heudiconv/scans.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"filename": {
3+
"Description": "Name of the nifti file"
4+
},
5+
"acq_time": {
6+
"LongName": "Acquisition time",
7+
"Description": "Acquisition time of the particular scan"
8+
},
9+
"operator": {
10+
"Description": "Name of the operator"
11+
},
12+
"randstr": {
13+
"LongName": "Random string",
14+
"Description": "md5 hash of UIDs"
15+
}
16+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"AcquisitionNumber": 1,
3+
"AcquisitionTime": "13:25:18.000000",
4+
"ConversionSoftware": "dcm2niix",
5+
"ConversionSoftwareVersion": "v1.0.20220720",
6+
"HeudiconvVersion": "1.3.2",
7+
"ImageOrientationPatientDICOM": [0.999032, -0.0217884, 0.0382096, 0.0265195, 0.991414, -0.128044],
8+
"ImageType": [
9+
"DERIVED",
10+
"SECONDARY"
11+
],
12+
"ManufacturersModelName": "nifti2dicom",
13+
"Modality": "MR",
14+
"ProtocolName": "anat-T1w",
15+
"RawImage": false,
16+
"SeriesDescription": "anat-T1w",
17+
"SeriesNumber": 401,
18+
"SliceThickness": 0.666667,
19+
"SoftwareVersions": "0.4.11",
20+
"SpacingBetweenSlices": 0.666667}

examples/heudiconv/sub-None/anat/sub-None_run-1_T1w.nii.gz

Whitespace-only changes.

0 commit comments

Comments
 (0)