Skip to content

Commit

Permalink
Update snakemake_storage_plugin_gcs/__init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester authored Apr 26, 2024
1 parent 6f116ef commit 6e6a326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakemake_storage_plugin_gcs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def list_candidate_matches(self) -> Iterable[str]:
# This is used by glob_wildcards() to find matches for wildcards in the query.
# The method has to return concretized queries without any remaining wildcards.
prefix = get_constant_prefix(self.query)
if prefix.startswith(f"gs://{self.bucket.name}"):
if prefix.startswith(f"gcs://{self.bucket.name}"):
prefix = prefix[5 + len(self.bucket.name) :].lstrip("/")

return (
Expand Down

0 comments on commit 6e6a326

Please sign in to comment.