Skip to content

Commit

Permalink
Fix column name.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Nov 14, 2023
1 parent 633dddc commit 360d2d7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion aslprep/utils/confounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _gather_confounds(
(fdisp, "Framewise displacement"),
(rmsd, "RMSD"),
(motion, "Motion parameters"),
(score, "SCORE outlier index"),
(score, "SCORE Outlier Index"),
):
if confound is not None and isdefined(confound):
confounds_list.append(name)
Expand Down
20 changes: 8 additions & 12 deletions aslprep/workflows/asl/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,26 +137,22 @@ def init_plot_cbf_wf(

if plot_timeseries:
# Time series are only available for non-GE data.
# Create confounds file with SCORE index
create_cbf_confounds = pe.Node(
GatherCBFConfounds(),
name="create_cbf_confounds",
)
workflow.connect([(inputnode, create_cbf_confounds, [("score_outlier_index", "score")])])

carpetplot_wf = init_carpetplot_wf(
mem_gb=2,
confounds_list=[("SCORE outlier index", None, "SCORE Index")],
confounds_list=[("score_outlier_index", None, "SCORE Index")],
metadata=metadata,
cifti_output=False,
name="cbf_carpetplot_wf",
)
carpetplot_wf.inputs.inputnode.dummy_scans = 0

# Create fake confounds file
create_cbf_confounds = pe.Node(
GatherCBFConfounds(),
name="create_cbf_confounds",
)
# fmt:off
workflow.connect([
(inputnode, create_cbf_confounds, [("score_outlier_index", "score")]),
])
# fmt:on

# fmt:off
workflow.connect([
(inputnode, carpetplot_wf, [
Expand Down

0 comments on commit 360d2d7

Please sign in to comment.