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

Warning only when resource cannot be downloaded #251

Open
mzavolan opened this issue Sep 23, 2024 · 0 comments
Open

Warning only when resource cannot be downloaded #251

mzavolan opened this issue Sep 23, 2024 · 0 comments

Comments

@mzavolan
Copy link

Hi!

I have been using genomepy to download genome resources from ENSEMBL as part of a workflow. ENSEMBL was apparently offline:

08:34:59 INFO Fetching assembly: GRCh38.p14 genomepy.py:135
08:35:29 | WARNING | Ensembl appears to be offline.

The workflow eventually failed, but not immediately because genomepy only raised a WARNING, which obscured the diagnosis of the issue. Should't genomepy just quit if it cannot download the requested resource?

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

No branches or pull requests

1 participant