Summary of what happened:
Hello, I am currently running the bids-validator on an updated version of this OpenNeuro dataset: OpenNeuro. Previously, this dataset only had two warnings, unrelated to the current issue. We are now receiving warnings for each echo files’ .json missing metadata. As this dataset is quite large, each missing metadata warning amounts to ~25,000 warnings, leading to a total of ~450,000 warnings.
The site MR technician does not think this metadata is collected at the DICOM level (Siemens 3T).
Is there a way to manually generate these fields if the metadata does in fact exist? If the metadata does not exist, how can I bypass the warnings on OpenNeuro upload. The current total of warnings causes a crash post-validation.
Command used (and if a helper script was used, a link to the helper script or the command generated):
bids-validator /root/ds005123/
Version:
Deno version: 2.1.4
bids version: 1.9.0
bids-validator version: 2.0.1
heudiconv version: 1.3.2
dcm2niix version: 1.0.20241211
Environment (Docker, Singularity / Apptainer, custom installation):
Apptainer for dcm2niix and heudiconv
Deno for bids-validator
Data formatted according to a validatable standard? Please provide the output of the validator:
[WARNING] SIDECAR_KEY_RECOMMENDED A data file's JSON sidecar is missing a key listed as recommended.
GradientSetType
/sub-10961/anat/sub-10961_FLAIR.nii.gz
/sub-10961/anat/sub-10961_T1w.nii.gz
24435 more files with the same issue
MRTransmitCoilSequence
/sub-10961/anat/sub-10961_FLAIR.nii.gz
/sub-10961/anat/sub-10961_T1w.nii.gz
24435 more files with the same issue
PulseSequenceType
/sub-10961/anat/sub-10961_FLAIR.nii.gz
/sub-10961/anat/sub-10961_T1w.nii.gz
24435 more files with the same issue
MTState
/sub-10961/anat/sub-10961_FLAIR.nii.gz
/sub-10961/anat/sub-10961_T1w.nii.gz
24435 more files with the same issue
SpoilingType
/sub-10961/anat/sub-10961_FLAIR.nii.gz
/sub-10961/anat/sub-10961_T1w.nii.gz
380 more files with the same issue
NumberShots
/sub-10961/anat/sub-10961_FLAIR.nii.gz
/sub-10961/anat/sub-10961_T1w.nii.gz
24435 more files with the same issue
ParallelReductionFactorOutOfPlane
/sub-10961/anat/sub-10961_FLAIR.nii.gz
/sub-10961/anat/sub-10961_T1w.nii.gz
24435 more files with the same issue
ParallelAcquisitionTechnique
/sub-10961/anat/sub-10961_FLAIR.nii.gz
/sub-10961/anat/sub-10961_T1w.nii.gz
24435 more files with the same issue
PartialFourierDirection
/sub-10961/anat/sub-10961_FLAIR.nii.gz
/sub-10961/anat/sub-10961_T1w.nii.gz
24435 more files with the same issue
EffectiveEchoSpacing
/sub-10961/anat/sub-10961_FLAIR.nii.gz
/sub-10961/anat/sub-10961_T1w.nii.gz
962 more files with the same issue
MixingTime
/sub-10961/anat/sub-10961_FLAIR.nii.gz
/sub-10961/anat/sub-10961_T1w.nii.gz
24435 more files with the same issue
TotalReadoutTime
/sub-10961/anat/sub-10961_FLAIR.nii.gz
/sub-10961/anat/sub-10961_T1w.nii.gz
962 more files with the same issue
SliceEncodingDirection
/sub-10961/anat/sub-10961_FLAIR.nii.gz
/sub-10961/fmap/sub-10961_acq-dwi_dir-AP_epi.nii.gz
24240 more files with the same issue
MultibandAccelerationFactor
/sub-10961/anat/sub-10961_FLAIR.nii.gz
/sub-10961/anat/sub-10961_T1w.nii.gz
12257 more files with the same issue
PhaseEncodingDirection
/sub-10961/anat/sub-10961_T1w.nii.gz
/sub-10866/anat/sub-10866_T1w.nii.gz
193 more files with the same issue
SpoilingState
/sub-10961/fmap/sub-10961_acq-dwi_dir-AP_epi.nii.gz
/sub-10961/fmap/sub-10961_acq-dwi_dir-PA_epi.nii.gz
24053 more files with the same issue
InversionTime
/sub-10961/fmap/sub-10961_acq-dwi_dir-AP_epi.nii.gz
/sub-10961/fmap/sub-10961_acq-dwi_dir-PA_epi.nii.gz
24053 more files with the same issue
B0FieldIdentifier
/sub-10961/fmap/sub-10961_acq-dwi_dir-AP_epi.nii.gz
/sub-10961/fmap/sub-10961_acq-dwi_dir-PA_epi.nii.gz
948 more files with the same issue
ScanOptions
/sub-10961/fmap/sub-10961_acq-bold_magnitude1.nii.gz
/sub-10961/fmap/sub-10961_acq-bold_phasediff.nii.gz
580 more files with the same issue
ParallelReductionFactorInPlane
/sub-10961/fmap/sub-10961_acq-bold_magnitude1.nii.gz
/sub-10961/fmap/sub-10961_acq-bold_phasediff.nii.gz
580 more files with the same issue
NumberOfVolumesDiscardedByScanner
/sub-10961/func/sub-10961_task-ugr_run-1_echo-4_part-mag_bold.nii.gz
/sub-10961/func/sub-10961_task-sharedreward_run-1_echo-3_part-mag_bold.nii.gz
11458 more files with the same issue
NumberOfVolumesDiscardedByUser
/sub-10961/func/sub-10961_task-ugr_run-1_echo-4_part-mag_bold.nii.gz
/sub-10961/func/sub-10961_task-sharedreward_run-1_echo-3_part-mag_bold.nii.gz
11458 more files with the same issue
DelayTime
/sub-10961/func/sub-10961_task-ugr_run-1_echo-4_part-mag_bold.nii.gz
/sub-10961/func/sub-10961_task-sharedreward_run-1_echo-3_part-mag_bold.nii.gz
11458 more files with the same issue
AcquisitionDuration
/sub-10961/func/sub-10961_task-ugr_run-1_echo-4_part-mag_bold.nii.gz
/sub-10961/func/sub-10961_task-sharedreward_run-1_echo-3_part-mag_bold.nii.gz
11458 more files with the same issue
DelayAfterTrigger
/sub-10961/func/sub-10961_task-ugr_run-1_echo-4_part-mag_bold.nii.gz
/sub-10961/func/sub-10961_task-sharedreward_run-1_echo-3_part-mag_bold.nii.gz
11458 more files with the same issue
Instructions
/sub-10961/func/sub-10961_task-ugr_run-1_echo-4_part-mag_bold.nii.gz
/sub-10961/func/sub-10961_task-sharedreward_run-1_echo-3_part-mag_bold.nii.gz
11458 more files with the same issue
TaskDescription
/sub-10961/func/sub-10961_task-ugr_run-1_echo-4_part-mag_bold.nii.gz
/sub-10961/func/sub-10961_task-sharedreward_run-1_echo-3_part-mag_bold.nii.gz
11458 more files with the same issue
CogPOID
/sub-10961/func/sub-10961_task-ugr_run-1_echo-4_part-mag_bold.nii.gz
/sub-10961/func/sub-10961_task-sharedreward_run-1_echo-3_part-mag_bold.nii.gz
11458 more files with the same issue
N/A?
Screenshots / relevant information:
I have tried the following troubleshooting steps, condensed for the sake of brevity:
-
Attempted to manually extract DICOM metadeta using
pydicom
. Was able to retrieve non-problematic fields, but none of the metadata described in the validator warnings. -
Deleted
.heudiconv
folder inbids/
and regenerated -
Ran
dcm2niix
withoutheudiconv
conversion -
Confirmed with site MR technician that this metadata is not collected (to the best of their knowledge)