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

[FEATURE REQUEST] Add flag overwrite to download_source_h5ad #2713

Open
canergen opened this issue Dec 22, 2024 · 0 comments
Open

[FEATURE REQUEST] Add flag overwrite to download_source_h5ad #2713

canergen opened this issue Dec 22, 2024 · 0 comments

Comments

@canergen
Copy link

Currently this function fails if the file exists: https://chanzuckerberg.github.io/cellxgene-census/_autosummary/cellxgene_census.download_source_h5ad.html#cellxgene_census.download_source_h5ad.

While this is intended behavior: ValueError – if the path already exists (i.e., will not overwrite an existing file), or is not a file IMO a better handling of this case would be a flag with overwrite that overwrites the file if set and otherwise skips download.

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

No branches or pull requests

1 participant