Skip to content

Commit b415b08

Browse files
committed
include task in get_base_entities
1 parent 032bcab commit b415b08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/rbc/core/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def get_base_entities(in_file: Path) -> dict[str, str]:
3939
A string-mapping of BIDS entities to values.
4040
"""
4141
file_entities = parse_bids_entities(in_file)
42-
return {k: v for k, v in file_entities.items() if k in ["sub", "ses", "run"]}
42+
return {k: v for k, v in file_entities.items() if k in ["sub", "ses", "task", "run"]}
4343

4444

4545
def rename(in_file: str | Path, new_name: str | Path) -> Path:

0 commit comments

Comments
 (0)