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

fix: remote GS builds too many inventories; io:collect_mtime always uses uncached mtime #2266

Merged
merged 10 commits into from Jun 30, 2023
2 changes: 1 addition & 1 deletion snakemake/remote/GS.py
Expand Up @@ -194,7 +194,7 @@ async def inventory(self, cache: snakemake.io.IOCache):
# === Implementations of abstract class members ===

def get_inventory_parent(self):
return self.bucket_name
return f"{self.bucket_name}/{os.path.dirname(self.blob.name)}"

@retry.Retry(predicate=google_cloud_retry_predicate)
def exists(self):
Expand Down