Skip to content

Commit c4f06d7

Browse files
authored
Merge pull request #1 from ericearl/bep036
Update pheno00* examples
2 parents 598db59 + bdccc1a commit c4f06d7

22 files changed

+56
-66
lines changed

.github/workflows/validate_datasets.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
fi
108108
109109
- name: Skip legacy validation for post-legacy datasets
110-
run: for DS in mrs_* dwi_deriv pet006 pheno004 volume_timing; do touch $DS/.SKIP_VALIDATION; done
110+
run: for DS in mrs_* dwi_deriv pet006 pheno00* volume_timing; do touch $DS/.SKIP_VALIDATION; done
111111
if: matrix.bids-validator == 'legacy'
112112

113113
- name: Skip stable validation for datasets with unreleased validator features
@@ -119,7 +119,7 @@ jobs:
119119
- name: Skip main validation for datasets with unreleased spec features
120120
# Replace ${EMPTY} with dataset patterns, when this is needed
121121
# Reset to "for DS in ${EMPTY}; ..." after a spec release
122-
run: for DS in dwi_deriv pheno004; do touch $DS/.SKIP_VALIDATION; done
122+
run: for DS in dwi_deriv pheno00*; do touch $DS/.SKIP_VALIDATION; done
123123
if: matrix.bids-validator != 'dev'
124124

125125
- name: Set BIDS_SCHEMA variable for dev version
@@ -128,7 +128,7 @@ jobs:
128128
# Update this URL to the schema.json from PRs to the spec, when needed.
129129
# If this variable is unset, dev will generally track the latest development
130130
# release of https://jsr.io/@bids/schema
131-
run: echo BIDS_SCHEMA=https://bids-specification.readthedocs.io/en/latest/schema.json >> $GITHUB_ENV
131+
run: echo BIDS_SCHEMA=https://bids-specification--2123.org.readthedocs.build/en/2123/schema.json >> $GITHUB_ENV
132132

133133
- name: Validate all BIDS datasets using bids-validator
134134
run: |

pheno001/dataset_description.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
22
"Name": "Phenotype guidelines example dataset 1",
3-
"BIDSVersion": "1.9.0",
3+
"BIDSVersion": "1.10.1",
44
"DatasetType": "raw",
55
"License": "CC0",
66
"Authors": [
77
"Arshitha Basavaraj",
88
"Eric Earl",
99
"Sebastian Urchs",
1010
"Samuel Guay"
11-
]
11+
],
12+
"AdditionalValidation": "Phenotype"
1213
}

pheno002/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,4 @@ pheno002
3232
`-- sub-02_ses-02_T1w.nii.gz
3333

3434
12 directories, 15 files
35-
3635
```

pheno002/dataset_description.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Name": "Phenotype guidelines example dataset 2",
3-
"BIDSVersion": "1.10.0",
3+
"BIDSVersion": "1.10.1",
44
"DatasetType": "raw",
55
"License": "CC0",
66
"Authors": [

pheno002/phenotype/ace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"session_id": {
66
"Description": "ID assigned to participant's visit.",
77
"Levels": {
8-
"01": "First phenotype assessment and imaging visit.",
9-
"02": "Second imaging only visit."
8+
"ses-01": "First phenotype assessment and imaging visit.",
9+
"ses-02": "Second imaging only visit."
1010
}
1111
},
1212
"b_ace_q1": {

pheno002/phenotype/ace.tsv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
participant_id session_id b_ace_q1 b_ace_q2 b_ace_q3 b_ace_q4 b_ace_q5 tesi_s_165 b_ace_q7 b_ace_q8 b_ace_q9 ceahd15
2-
sub-01 01 0 0 0 0 0 0 1 0 0 0
3-
sub-02 01 0 0 0 0 1 0 0 0 0 0
2+
sub-01 ses-01 0 0 0 0 0 0 1 0 0 0
3+
sub-02 ses-01 0 0 0 0 1 0 0 0 0 0

pheno002/sessions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"session_id": {
66
"Description": "ID assigned to participant's visit.",
77
"Levels": {
8-
"01": "First phenotype assessment and imaging visit.",
9-
"02": "Second imaging only visit."
8+
"ses-01": "First phenotype assessment and imaging visit.",
9+
"ses-02": "Second imaging only visit."
1010
}
1111
},
1212
"age": {

pheno002/sessions.tsv

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
participant_id session_id age acq_time
2-
sub-01 01 22 1975-02-08 11:37:09
3-
sub-01 02 24 1977-04-01 09:00:57
4-
sub-02 01 63 1975-02-09 13:50:30
5-
sub-02 02 65 1977-03-29 10:25:04
1+
participant_id session_id acq_time
2+
sub-01 ses-01 1975-02-08 11:37:09
3+
sub-01 ses-02 1977-04-01 09:00:57
4+
sub-02 ses-01 1975-02-09 13:50:30
5+
sub-02 ses-02 1977-03-29 10:25:04

pheno003/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ pheno003
1010
|-- phenotype
1111
| |-- ace.json
1212
| `-- ace.tsv
13-
|-- sessions.json
14-
|-- sessions.tsv
1513
|-- sub-01
1614
| `-- ses-baseline
1715
| `-- anat
@@ -23,6 +21,6 @@ pheno003
2321
|-- sub-02_ses-baseline_T1w.json
2422
`-- sub-02_ses-baseline_T1w.nii.gz
2523

26-
8 directories, 11 files
24+
8 directories, 9 files
2725

2826
```

pheno003/dataset_description.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Name": "Phenotype guidelines example dataset 3",
3-
"BIDSVersion": "1.10.0",
3+
"BIDSVersion": "1.10.1",
44
"DatasetType": "raw",
55
"License": "CC0",
66
"Authors": [

0 commit comments

Comments
 (0)