Skip to content

Commit

Permalink
Add second session to test spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Oct 23, 2024
1 parent bb660d2 commit c2205e1
Showing 1 changed file with 126 additions and 0 deletions.
126 changes: 126 additions & 0 deletions sdcflows/utils/tests/test_wrangler.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,132 @@ def gen_layout(bids_dir, database_dir=None):
},
],
},
{
"session": "02",
"anat": [{"suffix": "T1w", "metadata": {"EchoTime": 1}}],
"func": [
{
"task": "rest",
"echo": "1",
"part": "mag",
"suffix": "bold",
"metadata": {
"EchoTime": 0.0142,
"RepetitionTime": 0.8,
"TotalReadoutTime": 0.5,
"PhaseEncodingDirection": "j",
"IntendedFor": [
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-1_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-1_part-phase_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-2_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-2_part-phase_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-3_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-3_part-phase_bold.nii.gz",
],
},
},
{
"task": "rest",
"echo": "1",
"part": "phase",
"suffix": "bold",
"metadata": {
"EchoTime": 0.0142,
"RepetitionTime": 0.8,
"TotalReadoutTime": 0.5,
"PhaseEncodingDirection": "j",
"IntendedFor": [
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-1_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-1_part-phase_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-2_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-2_part-phase_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-3_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-3_part-phase_bold.nii.gz",
],
},
},
{
"task": "rest",
"echo": "2",
"part": "mag",
"suffix": "bold",
"metadata": {
"EchoTime": 0.03893,
"RepetitionTime": 0.8,
"TotalReadoutTime": 0.5,
"PhaseEncodingDirection": "j",
"IntendedFor": [
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-1_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-1_part-phase_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-2_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-2_part-phase_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-3_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-3_part-phase_bold.nii.gz",
],
},
},
{
"task": "rest",
"echo": "2",
"part": "phase",
"suffix": "bold",
"metadata": {
"EchoTime": 0.03893,
"RepetitionTime": 0.8,
"TotalReadoutTime": 0.5,
"PhaseEncodingDirection": "j",
"IntendedFor": [
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-1_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-1_part-phase_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-2_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-2_part-phase_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-3_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-3_part-phase_bold.nii.gz",
],
},
},
{
"task": "rest",
"echo": "3",
"part": "mag",
"suffix": "bold",
"metadata": {
"EchoTime": 0.06366,
"RepetitionTime": 0.8,
"TotalReadoutTime": 0.5,
"PhaseEncodingDirection": "j",
"IntendedFor": [
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-1_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-1_part-phase_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-2_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-2_part-phase_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-3_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-3_part-phase_bold.nii.gz",
],
},
},
{
"task": "rest",
"echo": "3",
"part": "phase",
"suffix": "bold",
"metadata": {
"EchoTime": 0.06366,
"RepetitionTime": 0.8,
"TotalReadoutTime": 0.5,
"PhaseEncodingDirection": "j",
"IntendedFor": [
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-1_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-1_part-phase_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-2_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-2_part-phase_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-3_part-mag_bold.nii.gz",
"bids::sub-01/ses-01/func/sub-01_ses-02_task-rest_echo-3_part-phase_bold.nii.gz",
],
},
},
],
},
]
}

Expand Down

0 comments on commit c2205e1

Please sign in to comment.