akmazian / pyDIOPT

Python wrapper for DIOPT
Apache License 2.0
0 stars 0 forks source link

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

Open olaf-c opened 2 months ago

olaf-c commented 2 months ago
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 commented 2 months ago

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!