Skip to content

Commit 1d0bd23

Browse files
Merge branch 'master' into emg_examples
2 parents 909c505 + f213067 commit 1d0bd23

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+421
-43
lines changed

.github/workflows/validate_datasets.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ concurrency:
1515
group: ${{ github.ref }}
1616
cancel-in-progress: true
1717

18+
defaults:
19+
run:
20+
shell: bash
21+
1822
jobs:
1923
build:
2024
strategy:
@@ -47,23 +51,20 @@ jobs:
4751
if: matrix.bids-validator == 'stable'
4852
run: |
4953
deno install -Agf -n bids-validator jsr:@bids/validator
50-
shell: bash
5154
5255
- name: Install BIDS validator (main)
5356
if: matrix.bids-validator == 'main'
5457
run: |
5558
# If unmerged validator PRs are needed for testing, you can use
5659
# https://github.com/<FORK>/bids-validator/raw/<BRANCH>/bids-validator/src/bids-validator.ts
5760
deno install -Agf https://github.com/bids-standard/bids-validator/raw/deno-build/bids-validator.js
58-
shell: bash
5961
6062
- name: Install BIDS validator (dev)
6163
if: matrix.bids-validator == 'dev'
6264
run: |
6365
git clone -b dev https://github.com/bids-standard/bids-validator/ ../bids-validator
6466
cd ../bids-validator
6567
deno compile -A -o $HOME/.deno/bin/bids-validator src/bids-validator.ts
66-
shell: bash
6768
6869
- name: Install BIDS validator (legacy)
6970
if: "matrix.bids-validator == 'legacy'"
@@ -78,7 +79,6 @@ jobs:
7879
echo "node\n----"; node --version
7980
echo "npm\n----"; npm --version
8081
echo "bids-validator"; bids-validator --version
81-
shell: bash
8282
8383
- name: Check that no large files are present
8484
if: "matrix.bids-validator == 'stable'"
@@ -93,17 +93,22 @@ jobs:
9393
echo "$found"
9494
exit 1;
9595
fi
96-
shell: bash
9796
9897
- name: Skip legacy validation for post-legacy datasets
99-
run: for DS in mrs_* dwi_deriv; do touch $DS/.SKIP_VALIDATION; done
98+
run: for DS in mrs_* dwi_deriv pheno004; do touch $DS/.SKIP_VALIDATION; done
10099
if: matrix.bids-validator == 'legacy'
101-
shell: bash
102100

103-
- name: Skip stable validation for datasets with unreleased features
104-
run: for DS in dwi_deriv; do touch $DS/.SKIP_VALIDATION; done
101+
- name: Skip stable validation for datasets with unreleased validator features
102+
# Replace ${EMPTY} with dataset patterns, when this is needed
103+
# Reset to "for DS in ${EMPTY}; ..." after a validator release
104+
run: for DS in ${EMPTY}; do touch $DS/.SKIP_VALIDATION; done
105+
if: matrix.bids-validator == 'stable'
106+
107+
- name: Skip main validation for datasets with unreleased spec features
108+
# Replace ${EMPTY} with dataset patterns, when this is needed
109+
# Reset to "for DS in ${EMPTY}; ..." after a spec release
110+
run: for DS in dwi_deriv pheno004; do touch $DS/.SKIP_VALIDATION; done
105111
if: matrix.bids-validator != 'dev'
106-
shell: bash
107112

108113
- name: Set BIDS_SCHEMA variable for dev version
109114
if: matrix.bids-validator == 'dev'
@@ -117,4 +122,3 @@ jobs:
117122
run: |
118123
cat ./run_tests.sh
119124
./run_tests.sh
120-
shell: bash

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,3 +368,14 @@ DO NOT EDIT DIRECTLY.
368368
| [qmri_sa2rage](https://github.com/bids-standard/bids-examples/tree/master/qmri_sa2rage) | Fast B1+ mapping using SA2RAGE | fmap | TB1SRGE | `not publicly available` | [@agahkarakuzu](https://github.com/agahkarakuzu) |
369369
| [qmri_tb1tfl](https://github.com/bids-standard/bids-examples/tree/master/qmri_tb1tfl) | B1+ mapping with TurboFLASH readout. | fmap | TB1TFL | `not publicly available` | [@agahkarakuzu](https://github.com/agahkarakuzu) |
370370
| [qmri_vfa](https://github.com/bids-standard/bids-examples/tree/master/qmri_vfa) | Variable Flip Angle T1 mapping. Includes an Actual Flip Angle (AFI) B1+ mapping example. | anat, fmap | TB1AFI, VFA | [link](https://osf.io/k4bs5/) | [@agahkarakuzu](https://github.com/agahkarakuzu) |
371+
372+
### Phenotype
373+
374+
<!--
375+
TABLE BELOW IS GENERATED AUTOMATICALLY.
376+
DO NOT EDIT DIRECTLY.
377+
-->
378+
379+
| name | description | datatypes | suffixes | link to full data | maintained by |
380+
|:--------------------------------------------------------------------------------|:-----------------------------------------------------------------|:----------------|:-----------|:--------------------|:-----------------------------------------|
381+
| [pheno004](https://github.com/bids-standard/bids-examples/tree/master/pheno004) | Minimal dataset with subjects with imaging and/or phenotype data | phenotype, anat | T1w | n/a | [@ericearl](https://github.com/ericearl) |

dataset_listing.tsv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ mrs_fmrs Functional MRS data involving a pain stimulus task from 15 subjects [li
8282
2d_mb_pcasl Siemens 2D MultiBand Multi-delay PCASL (m0 and noRF included within timeseries) [link](https://osf.io/xrkc4/) [@aptinis](https://github.com/aptinis) anat, fmap, perf T1w, asl, aslcontext, epi
8383
xeeg_hed_score EEG and iEEG data with annotations of artifacts, seizures and modulators using HED-SCORE [@dorahermes](https://github.com/dorahermes) anat, eeg, ieeg T1w, channels, coordsystem, eeg, electrodes, events, ieeg
8484
dwi_deriv exemplifies the storage of diffusion MRI derivates that may be generated on the Siemens XA platform. dwi dwi
85+
pheno004 Minimal dataset with subjects with imaging and/or phenotype data [@ericearl](https://github.com/ericearl) phenotype, anat T1w
8586
emg_CustomBipolar Custom-made bipolar EMG recording setup with electrodes on flexors of the lower arm emg channels, emg n/a @neuromechanist
8687
emg_CustomBipolarFace EMG recording from facial muscles with many-to-many mapping between sensors and muscles emg channels, electrodes, emg n/a @neuromechanist
8788
emg_IndependentMod Commercial bipolar EMG modules recording multiple muscles with wireless sensors emg channels, emg n/a @neuromechanist

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
The website listing BIDS examples can now be found on the [main BIDS website](https://bids-website.readthedocs.io/en/latest/datasets/examples.html).
1+
The website listing BIDS examples can now be found on the [main BIDS website](https://bids.neuroimaging.io/datasets/examples.html).

eeg_ds003645s_hed_demo/dataset_description.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Name": "Face processing MEEG dataset with HED annotation",
33
"BIDSVersion": "1.9.0",
4-
"HEDVersion": "8.2.0",
4+
"HEDVersion": "8.3.0",
55
"License": "CC0",
66
"Authors": [
77
"Daniel G. Wakeman",

eeg_matchingpennies/dataset_description.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
],
1515
"DatasetDOI": "10.17605/OSF.IO/CJ2DR",
1616
"DatasetType": "raw",
17-
"HEDVersion": "8.0.0"
17+
"HEDVersion": ["8.3.0"]
1818
}

eeg_matchingpennies/task-matchingpennies_events.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@
5555
"raised-right/match-true": "raised right hand, bci predicted right hand"
5656
},
5757
"HED": {
58-
"raised-left/match-true": "(Agent-action, Participant-response, (Lift, (Hand, (Left-side-of, Experiment-participant))), (Release, (Mouse-button, (Left-side-of, Experiment-participant)))), (Delay, Duration, (Approximately-equal-to, Time-block/68 ms)), (Sensory-event, Visual-presentation, (Drawing, (ID/left_hand.png, Hand, (Left-side-of, Computer-screen))), (Feedback, Penalty)), Description/Subject raised left hand and computer presented image of hand to left side",
59-
"raised-left/match-false": "(Agent-action, Participant-response, (Lift, (Hand, (Left-side-of, Experiment-participant))), (Release, (Mouse-button, (Left-side-of, Experiment-participant)))), (Delay, Duration, (Approximately-equal-to, Time-block/68 ms)), (Sensory-event, Visual-presentation, (Drawing, (ID/right_hand.png, Hand, (Right-side-of, Computer-screen))), (Feedback, Reward)), Description/Subject raised left hand and computer presented image of hand to right side",
60-
"raised-right/match-true": "(Agent-action, Participant-response, (Lift, (Hand, (Right-side-of, Experiment-participant))), (Release, (Mouse-button, (Right-side-of, Experiment-participant)))), (Delay, Duration, (Approximately-equal-to, Time-block/68 ms)), (Sensory-event, Visual-presentation, (Drawing, (ID/right_hand.png, Hand, (Right-side-of, Computer-screen))), (Feedback, Penalty)), Description/Subject raised right hand and computer presented image of hand to right side",
61-
"raised-right/match-false": "(Agent-action, Participant-response, (Lift, (Hand, (Right-side-of, Experiment-participant))), (Release, (Mouse-button, (Right-side-of, Experiment-participant)))), (Delay, Duration, (Approximately-equal-to, Time-block/68 ms)), (Sensory-event, Visual-presentation, (Drawing, (ID/left_hand.png, Hand, (Left-side-of, Computer-screen))), (Feedback, Reward)), Description/Subject raised right hand and computer presented image of hand to left side"
58+
"raised-left/match-true": "(Agent-action, Participant-response, (Lift, (Hand, (Left-side-of, Experiment-participant))), (Release, (Mouse-button, (Left-side-of, Experiment-participant)))), (Sensory-event, Visual-presentation, (Drawing, (ID/left_hand.png, Hand, (Left-side-of, Computer-screen))), (Feedback, Penalty)), Description/Subject raised left hand and computer presented image of hand to left side. Time-block delayed for about 60 ms.",
59+
"raised-left/match-false": "(Agent-action, Participant-response, (Lift, (Hand, (Left-side-of, Experiment-participant))), (Release, (Mouse-button, (Left-side-of, Experiment-participant)))), (Sensory-event, Visual-presentation, (Drawing, (ID/right_hand.png, Hand, (Right-side-of, Computer-screen))), (Feedback, Reward)), Description/Subject raised left hand and computer presented image of hand to right side. ime-block delayed for about 60 ms.",
60+
"raised-right/match-true": "(Agent-action, Participant-response, (Lift, (Hand, (Right-side-of, Experiment-participant))), (Release, (Mouse-button, (Right-side-of, Experiment-participant)))), (Sensory-event, Visual-presentation, (Drawing, (ID/right_hand.png, Hand, (Right-side-of, Computer-screen))), (Feedback, Penalty)), Description/Subject raised right hand and computer presented image of hand to right side. ime-block delayed for about 60 ms.",
61+
"raised-right/match-false": "(Agent-action, Participant-response, (Lift, (Hand, (Right-side-of, Experiment-participant))), (Release, (Mouse-button, (Right-side-of, Experiment-participant)))), (Sensory-event, Visual-presentation, (Drawing, (ID/left_hand.png, Hand, (Left-side-of, Computer-screen))), (Feedback, Reward)), Description/Subject raised right hand and computer presented image of hand to left side. ime-block delayed for about 60 ms."
6262
}
6363
},
6464
"stage": {

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ site_name: bids-examples
22

33
nav:
44
- The BIDS examples:
5-
- Examples: https://bids-website.readthedocs.io/en/latest/datasets/examples.html
5+
- Examples: https://bids.neuroimaging.io/datasets/examples.html
66
- Contributing: CONTRIBUTING.md
77

88
theme:

pheno004/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# BEP036 example dataset 04: One imaging-only, one phenotypic-only, and one with both imaging and phenotypic data
2+
3+
This dataset contains imaging data and phenotypic data from one subject, only imaging data for another subject, and only phenotypic data for a third subject. Phenotype and imaging data were collected at the same session. The file tree is as follows:
4+
5+
```ascii
6+
📦pheno004
7+
┣ 📂phenotype
8+
┃ ┣ 📜ace.json
9+
┃ ┣ 📜ace.tsv
10+
┃ ┣ 📜demographics.json
11+
┃ ┗ 📜demographics.tsv
12+
┣ 📂sub-01
13+
┃ ┗ 📂anat
14+
┃ ┃ ┣ 📜sub-01_T1w.json
15+
┃ ┃ ┗ 📜sub-01_T1w.nii.gz
16+
┣ 📂sub-02
17+
┃ ┗ 📂anat
18+
┃ ┃ ┣ 📜sub-02_T1w.json
19+
┃ ┃ ┗ 📜sub-02_T1w.nii.gz
20+
┣ 📜participants.json
21+
┣ 📜participants.tsv
22+
┗ 📜README.md
23+
```

pheno004/dataset_description.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"Name": "Mixed Phenotype+Participants",
3+
"BIDSVersion": "1.11.0",
4+
"License": "CC0",
5+
"Authors": [
6+
"Eric Earl",
7+
"Arshitha Basavaraj",
8+
"Samuel Guay",
9+
"Sebastian Urchs"
10+
],
11+
"Acknowledgements": "Acknowledgements"
12+
}

0 commit comments

Comments
 (0)