We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 032bcab commit b415b08Copy full SHA for b415b08
1 file changed
src/rbc/core/utils.py
@@ -39,7 +39,7 @@ def get_base_entities(in_file: Path) -> dict[str, str]:
39
A string-mapping of BIDS entities to values.
40
"""
41
file_entities = parse_bids_entities(in_file)
42
- return {k: v for k, v in file_entities.items() if k in ["sub", "ses", "run"]}
+ return {k: v for k, v in file_entities.items() if k in ["sub", "ses", "task", "run"]}
43
44
45
def rename(in_file: str | Path, new_name: str | Path) -> Path:
0 commit comments