Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add URL support to cp-worker #190

Open
ErinWeisbart opened this issue Jan 10, 2025 · 1 comment
Open

Add URL support to cp-worker #190

ErinWeisbart opened this issue Jan 10, 2025 · 1 comment

Comments

@ErinWeisbart
Copy link
Member

ErinWeisbart commented Jan 10, 2025

Support using URLs for file paths.

Currently, CellProfiler (when installed from source) can load from s3:// paths

@bethac07
Copy link
Collaborator

import re 

    if url.startswith("s3"):

        bucket_name, filename = (
            re.compile("s3://([\w\d\-.]+)/(.*)").search(url).groups()
        )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants