aces / Loris-MRI

The set of scripts that preprocess and insert MRI data into the database.
10 stars 50 forks source link

[mincs_to_bids_converter.pl] Error code 1 #981

Closed zaliqarosli closed 3 months ago

zaliqarosli commented 1 year ago
    2: [ERR] Files with such naming scheme are not part of BIDS specification. This error is most commonly caused by typos in file names that make them not BIDS compatible. Please consult the specification and make sure your files are named correctly. If this is not a file naming issue (for example when including files not yet covered by the BIDS specification) you should include a ".bidsignore" file in your dataset (see https://github.com/bids-standard/bids-validator#bidsignore for details). Please note that derived (processed) data should be placed in /derivatives folder and source data (such as DICOMS or behavioural logs in proprietary formats) should be placed in the /sourcedata folder. (code: 1 - NOT_INCLUDED)
        ./sub-115788/ses-V3/anat/sub-115788_ses-V3_acq-bla_run-1_inv-20_T1w.json
            Evidence: sub-115788_ses-V3_acq-bla_run-1_inv-20_T1w.json
        ./sub-115788/ses-V3/anat/sub-115788_ses-V3_acq-bla_run-1_inv-20_T1w.nii.gz
            Evidence: sub-115788_ses-V3_acq-bla_run-1_inv-20_T1w.nii.gz
        ./sub-300022/ses-V1/anat/sub-300022_ses-V1_acq-bla_run-1_inv-20_T1w.json
            Evidence: sub-300022_ses-V1_acq-bla_run-1_inv-20_T1w.json
        ./sub-300022/ses-V1/anat/sub-300022_ses-V1_acq-bla_run-1_inv-20_T1w.nii.gz
            Evidence: sub-300022_ses-V1_acq-bla_run-1_inv-20_T1w.nii.gz
        ./sub-300038/ses-V1/anat/sub-300038_ses-V1_acq-bla_run-1_inv-20_T1w.json
            Evidence: sub-300038_ses-V1_acq-bla_run-1_inv-20_T1w.json
        ./sub-300038/ses-V1/anat/sub-300038_ses-V1_acq-bla_run-1_inv-20_T1w.nii.gz
            Evidence: sub-300038_ses-V1_acq-bla_run-1_inv-20_T1w.nii.gz
        ./sub-300125/ses-V1/anat/sub-300125_ses-V1_acq-bla_run-1_inv-20_T1w.json
            Evidence: sub-300125_ses-V1_acq-bla_run-1_inv-20_T1w.json
        ./sub-300125/ses-V1/anat/sub-300125_ses-V1_acq-bla_run-1_inv-20_T1w.nii.gz
            Evidence: sub-300125_ses-V1_acq-bla_run-1_inv-20_T1w.nii.gz
        ./sub-300135/ses-V1/anat/sub-300135_ses-V1_acq-bla_run-1_inv-20_T1w.json
            Evidence: sub-300135_ses-V1_acq-bla_run-1_inv-20_T1w.json
        ./sub-300135/ses-V1/anat/sub-300135_ses-V1_acq-bla_run-1_inv-20_T1w.nii.gz
            Evidence: sub-300135_ses-V1_acq-bla_run-1_inv-20_T1w.nii.gz
zaliqarosli commented 1 year ago

this error resulted from me running the following commands:

INSERT INTO `bids_scan_type_subcategory` VALUES (2,'inv-20_acq-bla');
update bids_mri_scan_type_rel set BIDSScanTypeSubCategoryID=2 where MRIScanTypeID =44;

which isn't correct. error doesn't appear without the above