You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using `storage()` without specifying a plugin name, Snakemake checks all installed plugins:
137
-
- **Zenodo plugin**: Only accepts zenodo.org URLs (`is_valid_query` returns True only for zenodo.org)
139
+
- **Cached HTTP plugin**: Only accepts zenodo.org URLs (`is_valid_query` returns True only for zenodo.org)
138
140
- **HTTP plugin**: Accepts all HTTP/HTTPS URLs (including zenodo.org)
139
141
140
142
If both plugins are installed, zenodo.org URLs are ambiguous - both plugins accept them.
141
-
Typically snakemake would raise an error: **"Multiple suitable storage providers found"** if you try to use `storage()` without specifying which plugin to use, ie. one needs to explicitly call the Zenodo provider for zenodo.org URLs using `storage.zenodo(url)` instead of `storage(url)`,
143
+
Typically snakemake would raise an error: **"Multiple suitable storage providers found"** if you try to use `storage()` without specifying which plugin to use, ie. one needs to explicitly call the Cached HTTP provider for zenodo.org URLs using `storage.cached_http(url)` instead of `storage(url)`,
142
144
but we monkey-patch the http plugin to refuse zenodo.org urls.
0 commit comments