aces / Loris-MRI

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

Aws upload dir subdir fix #1023

Closed laemtl closed 10 months ago

laemtl commented 10 months ago

Fix ==> tmp_path could not be uploaded to the S3 bucket. Error was /subdir/file processing failure, must be a s3 url.

--> Cause: os.path.join() called on a string with leading / will return that string. --> Solution: remove the leading string.