aces / Loris-MRI

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

Fix `NoneType` error when S3 configs not set properly #1110

Closed cmadjar closed 2 months ago

cmadjar commented 2 months ago

Description

This fixes the NoneType error for run_push_imaging_files_to_s3_pipeline.py when incorrect S3 authentication settings are provided. Will now print:

[ERROR   ] S3 connection failure: An error occurred (InvalidAccessKeyId) when calling the ListBuckets operation: Unknown

[ERROR   ] S3 configs not configured properly

Close #1109