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

The example code does not run without additionally importing nest_asyncio #2

Open
olaf-c opened this issue Sep 2, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@olaf-c
Copy link

olaf-c commented Sep 2, 2024

from pyDIOPT import DIOPTRelease

release = DIOPTRelease("v8", "h sapiens")

# fetching single gene
example1 = release.fetch("ENSG00000085117", target_species=None)

# fetching several genes
example2 = release.fetch(
    ["MDM2", "TP53"], target_species="mouse", filter="best_match", condensed=False
)

It gets this error: import nest_asyncio
ModuleNotFoundError: No module named 'nest_asyncio'

Runs perfectly after importing nest_asyncio

@akmazian
Copy link
Owner

akmazian commented Sep 2, 2024

omg firstly there are actually people using this package I can cry

secondly thank you for pointing that out. will fix asap-ish :\ wrapping up on school right now!

@akmazian akmazian self-assigned this Sep 2, 2024
@akmazian akmazian added the bug Something isn't working label Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants