Summary of what happened:
Hi all,
I am new to dcm2bids and am trying to convert some Siemens TiM Trio data using dcm2bids v. 3.1.1. I get several warnings and am trying to figure out whether they are critical. The run completes and I get the expected filenames in the anat, dwi, and func directories.
Command used (and if a helper script was used, a link to the helper script or the command generated):
dcm2bids -d sourcedata/sub-1008 -p sub-1008 --auto_extract_entities --bids_validate --force_dcm2bids --clobber -c code/dcm2bids_config.json
Version:
v. 3.1.1
Environment (Docker, Singularity, custom installation):
conda
Data formatted according to a validatable standard? Please provide the output of the validator:
I used the bids-validator website
Relevant log outputs (up to 20 lines):
2024-01-04 10:40:35.878 - INFO - sidecar.build_acquisitions | No Pairing <- 001_sub-1008_Localizer_20210406142807_i00007
2024-01-04 10:40:35.879 - INFO - sidecar.searchDcmTagEntity | Removing entity 'T1w' since it does not fit the basic BIDS specification (Entity-Value)
2024-01-04 10:40:35.879 - INFO - sidecar.build_acquisitions | sub-1008_T1w <- 002_sub-1008_MPRAGE_STAN_20210406142807
2024-01-04 10:40:35.880 - WARNING - sidecar.searchDcmTagEntity | {'task'} have not been found for datatype 'func' and suffix 'bold'.
2024-01-04 10:40:35.880 - INFO - sidecar.build_acquisitions | sub-1008_task-rest_acq-TR1400_bold <- 003_sub-1008_REST_1400_20210406142807
2024-01-04 10:40:35.880 - INFO - sidecar.build_acquisitions | No Pairing <- 004_sub-1008_set_volume_20210406142807
2024-01-04 10:40:35.880 - WARNING - sidecar.searchDcmTagEntity | {'task'} have not been found for datatype 'func' and suffix 'bold'.
2024-01-04 10:40:35.881 - INFO - sidecar.build_acquisitions | sub-1008_task-emoreg1_acq-TR1400_bold <- 005_sub-1008_emo_reg1_20210406142807
2024-01-04 10:40:35.881 - WARNING - sidecar.searchDcmTagEntity | {'task'} have not been found for datatype 'func' and suffix 'bold'.
2024-01-04 10:40:35.881 - INFO - sidecar.build_acquisitions | sub-1008_task-emoreg2_acq-TR1400_bold <- 006_sub-1008_emo_reg2_20210406142807
2024-01-04 10:40:35.882 - WARNING - acquisition.setDstFile | Entity "['dwi7']" is not a valid BIDS entity.
2024-01-04 10:40:35.882 - INFO - sidecar.build_acquisitions | sub-1008_dwi7-AP_dwi <- 007_sub-1008_DIFF_7_AP_20210406142807
2024-01-04 10:40:35.882 - WARNING - acquisition.setDstFile | Entity "['dwi7']" is not a valid BIDS entity.
2024-01-04 10:40:35.882 - INFO - sidecar.build_acquisitions | sub-1008_dwi7-PA_dwi <- 008_sub-1008_DIFF_7_PA_20210406142807
2024-01-04 10:40:35.883 - INFO - sidecar.build_acquisitions | sub-1008_dwi <- 009_sub-1008_DIFF_137_AP_20210406142807
2024-01-04 10:40:35.883 - INFO - sidecar.build_acquisitions | No Pairing <- 010_sub-1008_FLAIR_-_ch32_iPAT2_-CLINICAL_20210406142807
2024-01-04 10:40:35.883 - INFO - dcm2bids_gen.run | Moving acquisitions into BIDS folder "/home/matt/studies/AFSP/sub_1006/rawdicom/new/temp/sub-1008".
2024-01-04 10:40:35.884 - INFO - utils.run_shell_command | Running: pydeface --force --verbose --outfile /home/matt/studies/AFSP/sub_1006/rawdicom/new/temp/sub-1008/anat/sub-1008_T1w.nii.gz /home/matt/studies/AFSP/sub_1006/rawdicom/new/temp/tmp_dcm2bids/sub-1008/002_sub-1008_MPRAGE_STAN_20210406142807.nii.gz
2024-01-04 10:49:42.741 - ERROR - dcm2bids_gen.run | The bids-validator does not seem to work properly. The bids-validator may not be installed on your computer. Please check: https://github.com/bids-standard/bids-validator.
2024-01-04 10:49:42.742 - INFO - dcm2bids.main | Logs saved in /home/matt/studies/AFSP/sub_1006/rawdicom/new/temp/tmp_dcm2bids/log/sub-1008_20240104-104014.log
2024-01-04 10:49:42.742 - INFO - dcm2bids.main | --- dcm2bids end ---
Screenshots / relevant information:
I am running ubuntu 16.04.1. The error message from the online bids validator was:
File Path: Quick validation failed - the general folder structure does not resemble a BIDS dataset. Have you chosen the right folder (with "sub-*/" subfolders)? Check for structural/naming issues and presence of at least one subject.
Type: Error
File: sub-1008_task-emoreg1_acq-TR1400_bold.json
Reason: Quick validation failed - the general folder structure does not resemble a BIDS dataset. Have you chosen the right folder (with "sub-*/" subfolders)? Check for structural/naming issues and presence of at least one subject.
======================================================