Skip to content

Commit

Permalink
Fix check.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Sep 19, 2023
1 parent 7124fa2 commit 4f02db7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions xcp_d/interfaces/execsummary.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,9 @@ def collect_inputs(self):

task_file_figures["registration_files"].append(found_file)

# If there are no registration files, then this "run" was produced by the
# concatenation workflow.
# If there no mean BOLD figure, then the "run" was made by the concatenation workflow.
# Skip the concatenated resting-state scan, since it has its own section.
if query["task"] == "rest" and not task_file_figures["registration_files"]:
if query["task"] == "rest" and not task_file_figures["bold"]:
continue

task_files.append(task_file_figures)
Expand Down

0 comments on commit 4f02db7

Please sign in to comment.