Skip to content

Commit b5bfe4a

Browse files
committed
add task to base entities in workflow
1 parent 0365e83 commit b5bfe4a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/rbc/workflows/functional.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ def single_session(in_bold: Path, output_dir: Path, start_tr: int = 2) -> None:
2222
output_dir: Parent output directory to save data to.
2323
start_tr: Number of initial TRs to remove (default: 2).
2424
"""
25-
bids_entities = get_base_entities(in_bold)
25+
bids_entities = get_base_entities(
26+
in_bold, base_entities=["sub", "ses", "task", "run"]
27+
)
2628
bids = partial(niwrap_helper.bids_path, **bids_entities)
2729

2830
reoriented_bold = reorient(

0 commit comments

Comments
 (0)