remote_to_https#

brainglobe_atlasapi.utils.remote_to_https(remote)[source]#

Convert an s3://bucket/prefix remote to an HTTPS URL.

Parameters:

remote (str) – Remote, without a trailing slash.

Returns:

Virtual-hosted-style HTTPS URL for the same location.

Return type:

str