Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25,930 changes: 12,965 additions & 12,965 deletions spec_tests/javascriptTests.json

Large diffs are not rendered by default.

27,214 changes: 13,607 additions & 13,607 deletions src/data/schemas/HED8.4.0.xml

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions tests/bidsDemoData/participants.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"participant_id": {
"LongName": "Participant identifier",
"Description": "Unique dataset subject identifier",
"HED": "(Experiment-participant, ID/#)"
},
"sex": {
"Description": "Sex of the subject",
"Levels": {
"M": "male",
"F": "female"
},
"HED": {
"M": "Male",
"F": "Female"
}
},
"age": {
"Description": "Age of the subject",
"Units": "years",
"HED": "Age/#"
}
{
"participant_id": {
"LongName": "Participant identifier",
"Description": "Unique dataset subject identifier",
"HED": "(Experiment-participant, ID/#)"
},
"sex": {
"Description": "Sex of the subject",
"Levels": {
"M": "male",
"F": "female"
},
"HED": {
"M": "Male",
"F": "Female"
}
},
"age": {
"Description": "Age of the subject",
"Units": "years",
"HED": "Age/#"
}
}
6 changes: 3 additions & 3 deletions tests/bidsDemoData/participants.tsv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
participant_id age sex HED
sub-002 31 M Healthy,Rested,Novice-level
sub-003 25 M Healthy,Drowsy,Expert-level
participant_id age sex HED
sub-002 31 M Healthy,Rested,Novice-level
sub-003 25 M Healthy,Drowsy,Expert-level
sub-004 30 M Expert-level
80 changes: 40 additions & 40 deletions tests/bidsDemoData/phenotype/KSSSleep.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
{
"participant_id": {
"Description": "Dataset-wide identifier of participant",
"HED": "((Experiment-participant, ID/#), {session_id}, {kss_scale}, {notes})"
},
"session_id": {
"Description": "The number of the session in this dataset for this participant.",
"HED": "(Label/Session, ID/#)"
},
"kss_scale": {
"Description": "Karolinska sleepiness",
"Levels": {
"1": "Extremely alert",
"2": "Very alert",
"3": "Alert",
"4": "Rather alert",
"5": "Neither alert nor sleepy",
"6": "Some signs of sleepiness",
"7": "Sleepy but no effort to keep awake",
"8": "Sleepy, but some effort to keep awake",
"9": "Very sleepy, great effort to keep awake, fighting sleep",
"10": "Extremely sleepy, can't keep awake"
},
"HED": {
"1": "(Alert, High)",
"2": "(Alert, Medium)",
"3": "Alert",
"4": "(Alert, Low)",
"5": "Awake",
"6": "(Drowsy, Low)",
"7": "Drowsy",
"8": "(Drowsy, Medium)",
"9": "(Drowsy, High)",
"10": "Asleep"
}
},
"notes": {
"Description": "additional comments/observations/notes, reported by the participant",
"HED": "Experimental-note/#"
}
{
"participant_id": {
"Description": "Dataset-wide identifier of participant",
"HED": "((Experiment-participant, ID/#), {session_id}, {kss_scale}, {notes})"
},
"session_id": {
"Description": "The number of the session in this dataset for this participant.",
"HED": "(Label/Session, ID/#)"
},
"kss_scale": {
"Description": "Karolinska sleepiness",
"Levels": {
"1": "Extremely alert",
"2": "Very alert",
"3": "Alert",
"4": "Rather alert",
"5": "Neither alert nor sleepy",
"6": "Some signs of sleepiness",
"7": "Sleepy but no effort to keep awake",
"8": "Sleepy, but some effort to keep awake",
"9": "Very sleepy, great effort to keep awake, fighting sleep",
"10": "Extremely sleepy, can't keep awake"
},
"HED": {
"1": "(Alert, High)",
"2": "(Alert, Medium)",
"3": "Alert",
"4": "(Alert, Low)",
"5": "Awake",
"6": "(Drowsy, Low)",
"7": "Drowsy",
"8": "(Drowsy, Medium)",
"9": "(Drowsy, High)",
"10": "Asleep"
}
},
"notes": {
"Description": "additional comments/observations/notes, reported by the participant",
"HED": "Experimental-note/#"
}
}
10 changes: 5 additions & 5 deletions tests/bidsDemoData/phenotype/KSSSleep.tsv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
participant_id session_id kss_scale notes
sub-002 n/a 1 Highly caffeinated.
sub-003 n/a 4 Normal sleep.
sub-004 ses-1 7 Bad dreams.
sub-004 ses-2 9 Subject stayed up all night.
participant_id session_id kss_scale notes
sub-002 n/a 1 Highly caffeinated.
sub-003 n/a 4 Normal sleep.
sub-004 ses-1 7 Bad dreams.
sub-004 ses-2 9 Subject stayed up all night.
64 changes: 32 additions & 32 deletions tests/bidsDemoData/phenotype/trainLog.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{
"trainLog": {
"Description": "logbook filled in by the participants after each training session"
},
"train_num": {
"Description": "The number of this practice session",
"HED": "(Item-count/#, Label/Train-session)"
},
"duration_finger": {
"Description": "reported practice time for the finger tapping task",
"Units": "minutes",
"HED": "(Duration/# minute, (Move, (Finger)))"
},
"duration_foot": {
"Description": "reported practice time for the foot stepping task",
"Units": "minutes",
"HED": "(Duration/# minute, (Move, (Foot)))"
},
"assess_finger": {
"Description": "'On a scale from 1 to 10, how would rate your performance today?' for the finger tapping task",
"Range": "1 (can't perform the sequence at all) to 10 (automaticity is reached)",
"HED": "(Finger, Categorical-level-value, Label/#)"
},
"assess_foot": {
"Description": "'On a scale from 1 to 10, how would rate your performance today?' for the foot stepping task",
"Range": "1 (can't perform the sequence at all) to 10 (automaticity is reached)",
"HED": "(Foot, Categorical-level-value, Label/#)"
},
"notes": {
"Description": "additional comments/observations/notes, reported by the participant",
"HED": "Experimental-note/#"
}
{
"trainLog": {
"Description": "logbook filled in by the participants after each training session"
},
"train_num": {
"Description": "The number of this practice session",
"HED": "(Item-count/#, Label/Train-session)"
},
"duration_finger": {
"Description": "reported practice time for the finger tapping task",
"Units": "minutes",
"HED": "(Duration/# minute, (Move, (Finger)))"
},
"duration_foot": {
"Description": "reported practice time for the foot stepping task",
"Units": "minutes",
"HED": "(Duration/# minute, (Move, (Foot)))"
},
"assess_finger": {
"Description": "'On a scale from 1 to 10, how would rate your performance today?' for the finger tapping task",
"Range": "1 (can't perform the sequence at all) to 10 (automaticity is reached)",
"HED": "(Finger, Categorical-level-value, Label/#)"
},
"assess_foot": {
"Description": "'On a scale from 1 to 10, how would rate your performance today?' for the foot stepping task",
"Range": "1 (can't perform the sequence at all) to 10 (automaticity is reached)",
"HED": "(Foot, Categorical-level-value, Label/#)"
},
"notes": {
"Description": "additional comments/observations/notes, reported by the participant",
"HED": "Experimental-note/#"
}
}
20 changes: 10 additions & 10 deletions tests/bidsDemoData/phenotype/trainLog.tsv
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
participant_id train_num duration_finger duration_foot assess_finger assess_foot notes
sub-002 1 5 4 7 5 i hate the foot stomping so much.
sub-002 2 5 5 8 6 able to watch tv in the meantime.
sub-003 1 3 5 9 6 Missed one day but still going strong.
sub-003 2 10 10 7 n/a n/a
sub-003 3 5 5 3 4 n/a
sub-004 1 5 5 5 4 I did practice but forgot to fill in the form.
sub-004 2 5 5 5 5 The sequences now go almost automatic.
sub-004 3 5 5 6 6 n/a
sub-004 4 n/a n/a 1 1 n/a
participant_id train_num duration_finger duration_foot assess_finger assess_foot notes
sub-002 1 5 4 7 5 i hate the foot stomping so much.
sub-002 2 5 5 8 6 able to watch tv in the meantime.
sub-003 1 3 5 9 6 Missed one day but still going strong.
sub-003 2 10 10 7 n/a n/a
sub-003 3 5 5 3 4 n/a
sub-004 1 5 5 5 4 I did practice but forgot to fill in the form.
sub-004 2 5 5 5 5 The sequences now go almost automatic.
sub-004 3 5 5 6 6 n/a
sub-004 4 n/a n/a 1 1 n/a
28 changes: 14 additions & 14 deletions tests/bidsDemoData/samples.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"sample_id": {
"Description": "Sample ID",
"HED": "((ID/#, Label/Sample-id), {participant_id}, {sample_type})"
},
"participant_id": {
"Description": "Participant ID from whom tissue samples have been acquired",
"HED": "(ID/#, Experiment-participant)"
},
"sample_type": {
"Description": "Type of sample from ENCODE Biosample Type (https://www.encodeproject.org/profiles/biosample_type)",
"HED": "Label/#"
}
}
{
"sample_id": {
"Description": "Sample ID",
"HED": "((ID/#, Label/Sample-id), {participant_id}, {sample_type})"
},
"participant_id": {
"Description": "Participant ID from whom tissue samples have been acquired",
"HED": "(ID/#, Experiment-participant)"
},
"sample_type": {
"Description": "Type of sample from ENCODE Biosample Type (https://www.encodeproject.org/profiles/biosample_type)",
"HED": "Label/#"
}
}
4 changes: 2 additions & 2 deletions tests/bidsDemoData/samples.tsv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sample_id participant_id sample_type
sample-A sub-004 tissue
sample_id participant_id sample_type
sample-A sub-004 tissue
sample-B sub-004 tissue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
response_time button_press stim_file
1.553 3 f123.bmp
1.586 1 f045.bmp
2.139 1 f135.bmp
1.571 1 u021.bmp
response_time button_press stim_file
1.553 3 f123.bmp
1.586 1 f045.bmp
2.139 1 f135.bmp
1.571 1 u021.bmp
Loading
Loading