From c6ef7b4079d3e2c2aa3110abbb3fd3eb1b6c55e1 Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Fri, 20 Oct 2023 11:59:31 -0400 Subject: [PATCH] Track `Sources` for outputs with BIDS URIs (#966) --- docs/outputs.rst | 40 +- .../data/test_ds001419_cifti_outputs.txt | 273 +++++- .../data/test_ds001419_nifti_outputs.txt | 234 ++++- ...st_fmriprep_without_freesurfer_outputs.txt | 138 ++- xcp_d/tests/data/test_nibabies_outputs.txt | 92 +- xcp_d/tests/data/test_pnc_cifti_outputs.txt | 121 ++- .../data/test_pnc_cifti_t2wonly_outputs.txt | 119 ++- xcp_d/tests/data/test_pnc_nifti_outputs.txt | 146 ++- xcp_d/tests/test_utils_bids.py | 89 +- xcp_d/tests/test_utils_utils.py | 85 ++ xcp_d/tests/utils.py | 2 +- xcp_d/utils/bids.py | 85 +- xcp_d/utils/utils.py | 40 + xcp_d/workflows/base.py | 2 + xcp_d/workflows/bold.py | 37 +- xcp_d/workflows/cifti.py | 41 +- xcp_d/workflows/concatenation.py | 97 +- xcp_d/workflows/connectivity.py | 12 +- xcp_d/workflows/outputs.py | 909 +++++++++++------- 19 files changed, 2010 insertions(+), 552 deletions(-) diff --git a/docs/outputs.rst b/docs/outputs.rst index fa6b0bb69..7554f3253 100644 --- a/docs/outputs.rst +++ b/docs/outputs.rst @@ -165,21 +165,15 @@ Denoised or residual BOLD data xcp_d/ sub-