From b36f712e5c6914fdf3bed112bae805cb0bbc801c Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Mon, 3 Jun 2024 12:01:14 -0400 Subject: [PATCH] Split giftis by hemisphere (#419) --- aslprep/data/aslprep_bids_config.json | 3 +- ...tputs_examples_pcasl_singlepld_philips.txt | 54 ++++++++++++------- 2 files changed, 38 insertions(+), 19 deletions(-) diff --git a/aslprep/data/aslprep_bids_config.json b/aslprep/data/aslprep_bids_config.json index 755620537..28871aaae 100755 --- a/aslprep/data/aslprep_bids_config.json +++ b/aslprep/data/aslprep_bids_config.json @@ -38,7 +38,8 @@ "sub-{subject}[/ses-{session}]/{datatype|func}/sub-{subject}[_ses-{session}][_task-{task}][_acq-{acquisition}][_ce-{ceagent}][_dir-{direction}][_rec-{reconstruction}][_run-{run}][_echo-{echo}][_space-{space}][_atlas-{atlas}][_cohort-{cohort}][_desc-{desc}]_{suffix|timeseries}{extension<.json|.tsv|.csv|>|.tsv}", "sub-{subject}[/ses-{session}]/{datatype|perf}/sub-{subject}[_ses-{session}][_task-{task}][_acq-{acquisition}][_ce-{ceagent}][_dir-{direction}][_rec-{reconstruction}][_run-{run}][_echo-{echo}][_desc-{desc}]_{suffix}{extension<.tsv|.json>|.tsv}", "sub-{subject}[/ses-{session}]/{datatype|perf}/sub-{subject}[_ses-{session}][_task-{task}][_acq-{acquisition}][_ce-{ceagent}][_dir-{direction}][_rec-{reconstruction}][_run-{run}][_echo-{echo}][_space-{space}][_res-{res}][_atlas-{atlas}][_cohort-{cohort}][_desc-{desc}]_{suffix}{extension<.nii|.nii.gz|.json|.csv|.tsv>|.nii.gz}", - "sub-{subject}[/ses-{session}]/{datatype|perf}/sub-{subject}[_ses-{session}][_task-{task}][_acq-{acquisition}][_ce-{ceagent}][_dir-{direction}][_rec-{reconstruction}][_run-{run}][_echo-{echo}][_space-{space}][_res-{res}][_den-{den}][_cohort-{cohort}][_desc-{desc}]_{suffix}{extension<.dtseries.nii|.dscalar.nii|.json|.dscalar.json|.dtseries.json|.func.gii|.func.json>|.dtseries.nii}", + "sub-{subject}[/ses-{session}]/{datatype|perf}/sub-{subject}[_ses-{session}][_task-{task}][_acq-{acquisition}][_ce-{ceagent}][_dir-{direction}][_rec-{reconstruction}][_run-{run}][_echo-{echo}][_space-{space}][_res-{res}][_den-{den}][_cohort-{cohort}][_desc-{desc}]_{suffix}{extension<.dtseries.nii|.dscalar.nii|.json|.dscalar.json|.dtseries.json>|.dtseries.nii}", + "sub-{subject}[/ses-{session}]/{datatype|perf}/sub-{subject}[_ses-{session}][_task-{task}][_acq-{acquisition}][_ce-{ceagent}][_dir-{direction}][_rec-{reconstruction}][_run-{run}][_echo-{echo}][_hemi-{hemi}][_space-{space}][_res-{res}][_den-{den}][_cohort-{cohort}][_desc-{desc}]_{suffix}{extension|.func.gii}", "sub-{subject}[/ses-{session}]/{datatype|figures}/sub-{subject}[_ses-{session}][_task-{task}][_acq-{acquisition}][_ce-{ceagent}][_dir-{direction}][_rec-{reconstruction}][_run-{run}][_echo-{echo}][_space-{space}][_res-{res}][_den-{den}][_cohort-{cohort}][_desc-{desc}]_{suffix}{extension<.svg|.png|.html>|.svg}", "sub-{subject}/{datatype}/sub-{subject}[_ses-{session}][_acq-{acquisition}][_ce-{ceagent}][_rec-{reconstruction}][_run-{run}][_space-{space}][_atlas-{atlas}][_cohort-{cohort}][_desc-{desc}]_{suffix}{extension<.html|.svg|.png>}", "sub-{subject}/{datatype}/sub-{subject}[_ses-{session}][_acq-{acquisition}][_ce-{ceagent}][_rec-{reconstruction}][_run-{run}][_space-{space}][_atlas-{atlas}][_cohort-{cohort}][_desc-{desc}]_{suffix}{extension<.html|.svg|.png>}", diff --git a/aslprep/tests/data/expected_outputs_examples_pcasl_singlepld_philips.txt b/aslprep/tests/data/expected_outputs_examples_pcasl_singlepld_philips.txt index 7d61ec8c4..c24d1a861 100644 --- a/aslprep/tests/data/expected_outputs_examples_pcasl_singlepld_philips.txt +++ b/aslprep/tests/data/expected_outputs_examples_pcasl_singlepld_philips.txt @@ -232,21 +232,39 @@ sub-01/ses-philips2d/perf/sub-01_ses-philips2d_from-aslref_to-T1w_mode-image_xfm sub-01/ses-philips2d/perf/sub-01_ses-philips2d_from-aslref_to-T1w_mode-image_xfm.txt sub-01/ses-philips2d/perf/sub-01_ses-philips2d_from-orig_to-aslref_mode-image_xfm.json sub-01/ses-philips2d/perf/sub-01_ses-philips2d_from-orig_to-aslref_mode-image_xfm.txt -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_cbf.func.gii -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_cbf.json -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_desc-basilGM_cbf.func.gii -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_desc-basilGM_cbf.json -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_desc-basilWM_cbf.func.gii -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_desc-basilWM_cbf.json -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_desc-basil_att.func.gii -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_desc-basil_att.json -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_desc-basil_cbf.func.gii -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_desc-basil_cbf.json -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_desc-scoreTimeseries_cbf.func.gii -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_desc-scoreTimeseries_cbf.json -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_desc-score_cbf.func.gii -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_desc-score_cbf.json -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_desc-scrub_cbf.func.gii -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_desc-scrub_cbf.json -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_desc-timeseries_cbf.func.gii -sub-01/ses-philips2d/perf/sub-01_ses-philips2d_space-fsaverage5_desc-timeseries_cbf.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_cbf.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_cbf.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_desc-basilGM_cbf.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_desc-basilGM_cbf.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_desc-basilWM_cbf.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_desc-basilWM_cbf.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_desc-basil_att.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_desc-basil_att.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_desc-basil_cbf.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_desc-basil_cbf.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_desc-scoreTimeseries_cbf.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_desc-scoreTimeseries_cbf.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_desc-score_cbf.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_desc-score_cbf.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_desc-scrub_cbf.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_desc-scrub_cbf.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_desc-timeseries_cbf.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-L_space-fsaverage5_desc-timeseries_cbf.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_cbf.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_cbf.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_desc-basilGM_cbf.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_desc-basilGM_cbf.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_desc-basilWM_cbf.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_desc-basilWM_cbf.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_desc-basil_att.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_desc-basil_att.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_desc-basil_cbf.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_desc-basil_cbf.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_desc-scoreTimeseries_cbf.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_desc-scoreTimeseries_cbf.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_desc-score_cbf.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_desc-score_cbf.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_desc-scrub_cbf.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_desc-scrub_cbf.json +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_desc-timeseries_cbf.func.gii +sub-01/ses-philips2d/perf/sub-01_ses-philips2d_hemi-R_space-fsaverage5_desc-timeseries_cbf.json