diff --git a/VERSION b/VERSION index 2c0a9e336..3ea101b5b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -25.0.0 +24.1.13 diff --git a/python/extract_eeg_bids_archive.py b/python/extract_eeg_bids_archive.py index ab43b018e..f85c98d12 100755 --- a/python/extract_eeg_bids_archive.py +++ b/python/extract_eeg_bids_archive.py @@ -200,7 +200,7 @@ def main(): """ If the suject/session/modality BIDS data already exists on the destination folder, delete it first - copying the data + before copying the data """ s3_obj.delete_file(s3_data_eeg_modality_path) @@ -222,7 +222,6 @@ def main(): copying the data """ imaging_io_obj.remove_dir(data_eeg_modality_path) - imaging_io_obj.copy_file(tmp_eeg_modality_path, data_eeg_modality_path) # Delete tmp location diff --git a/python/lib/aws_s3.py b/python/lib/aws_s3.py index 5109e4319..8df31c83e 100755 --- a/python/lib/aws_s3.py +++ b/python/lib/aws_s3.py @@ -80,7 +80,7 @@ def upload_dir(self, dir_name, s3_object_name, force = False): for (root, dirs, files) in os.walk(dir_name): for file in files: - s3_prefix = os.path.join(s3_file_name, root.replace(dir_name, ""), file) + s3_prefix = os.path.join(s3_file_name, root.replace(dir_name, "").lstrip('/'), file) s3_dest = os.path.join( 's3://', s3_bucket_name,