mobie / mobie-utils-python

Python tools for MoBIE
MIT License
9 stars 5 forks source link

do not warn if source is already in s3 format #129

Closed JonasHell closed 8 months ago

JonasHell commented 8 months ago

add_remote_source_metadata is iterating over all file_formats of the current source. If there is an s3-compatible file format it throws a warning. This is not a problem, it is just a bit annoying and confusing to read something like: Data in the ome.zarr.s3 format cannot be uploaded to s3.

I added an additional if statement to catch this case.