Skip to content

Commit

Permalink
Generate T2w executive summary plots when T1w is also available (Penn…
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo authored Mar 8, 2024
1 parent b2d16c1 commit 2bca701
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xcp_d/workflows/execsummary.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def init_execsummary_functional_plots_wf(

# Start plotting the overlay figures
# T1 in Task, Task in T1, Task in T2, T2 in Task
anatomicals = ["t1w"] if t1w_available else [] + ["t2w"] if t2w_available else []
anatomicals = (["t1w"] if t1w_available else []) + (["t2w"] if t2w_available else [])
for anat in anatomicals:
# Resample BOLD to match resolution of T1w/T2w data
resample_bold_to_anat = pe.Node(
Expand Down Expand Up @@ -572,7 +572,7 @@ def init_execsummary_anatomical_plots_wf(

# Start plotting the overlay figures
# Atlas in T1w/T2w, T1w/T2w in Atlas
anatomicals = ["t1w"] if t1w_available else [] + ["t2w"] if t2w_available else []
anatomicals = (["t1w"] if t1w_available else []) + (["t2w"] if t2w_available else [])
for anat in anatomicals:
# Resample anatomical to match resolution of template data
resample_anat = pe.Node(
Expand Down

0 comments on commit 2bca701

Please sign in to comment.