LORIS-MRI Release v24.1.11
This is a bug fix release for LORIS-MRI version 24.1. It resolves the following bugs:
General python code fixes
- fix
blake2b
andmd5
hashing algorithm used to generate files' hashes stored in the database (#916)
Python dcm2bids insertion pipeline
- print proper error message when running
dicom_archive_validation.py
on anUploadID
that does not exist in the database (#962) - print proper error message when running
dicom_archive_validation.py
on an improperUploadID
/ArchiveLocation
combination (A.K.A. theArchiveLocation
is not linked to theUploadID
provided as input to the script and vice versa) (#963) - fix handling of options provided to the script
run_push_imaging_files_to_s3_pipeline .py
(#964) - better handle bad configuration of S3 in
database_config.py
and Config module (#965)
BIDS import pipeline
- add support for using
CandID
in the BIDS subject's IDs that is imported (#912) - add CandID/PSCID validation in the folder name if the flag
-i
is used when importing BIDS data (#912)
New script
- addition of a script that will extract an electrophysiology upload in the
assembly_bids
directory alongside the MRI data imported by the dcm2bids pipeline (#970)
Caveat for existing projects
- Since the hashes were not created properly by the python pipelines (A.K.A.
bids_import.py
and dcm2bids pipelines), the hashes stored in the database are incorrect and need to be corrected. In order to do that, a script has been made available in the tools directory. To correct all the incorrect MD5 and BLAKE2b hashes, run the following command:
python tools/correct_blake2b_and_md5_hashes_in_database.py -p database_config.py