BIDS validator error Taskname

Hi,

I am working with an online dataset PPMI from multiple sites. They acquired two Axial Resting State fMRI (BOLD) sequences: the initial sequence (Phase encoding direction R>L), and a repeat sequence (Phase encoding direction L>R). When I ran BIDSKIT 2022.8.26, I got this error message:

(node:1642) Warning: Closing directory handle on garbage collection
(Use node --trace-warnings ... to show where the warning was created)
1: [ERR] You have to define ‘TaskName’ for this file. (code: 50 - TASK_NAME_MUST_DEFINE)
./sub-100878/func/sub-100878_task-rest_dir-LR_bold.nii.gz
./sub-100878/func/sub-100878_task-rest_dir-RL_bold.nii.gz
./sub-101124/func/sub-101124_task-rest_dir-LR_bold.nii.gz
./sub-101124/func/sub-101124_task-rest_dir-RL_bold.nii.gz
./sub-101175/func/sub-101175_task-rest_dir-LR_bold.nii.gz
./sub-101175/func/sub-101175_task-rest_dir-RL_bold.nii.gz
./sub-101179/func/sub-101179_task-rest_dir-LR_bold.nii.gz
./sub-101179/func/sub-101179_task-rest_dir-RL_bold.nii.gz
./sub-101492/func/sub-101492_task-rest_dir-LR_bold.nii.gz
./sub-101492/func/sub-101492_task-rest_dir-RL_bold.nii.gz
… and 40 more files having this issue (Use --verbose to see them all).

I am assuming that the 2 files with distinct LR and RL phase encoding is causing this error in the func directory? Can anyone please recommend what I should do.

Cheers,
Hamzah

Hello,

TaskName is a field that should be specified in the accompanying BIDS JSON sidecars.

Best,
Steven