Distributed-CellProfiler
Distributed-CellProfiler copied to clipboard
Add URL support to cp-worker
Support using URLs for file paths.
Currently, CellProfiler (when installed from source) can load from s3:// paths
import re
if url.startswith("s3"):
bucket_name, filename = (
re.compile("s3://([\w\d\-.]+)/(.*)").search(url).groups()
)