You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to download expression data with the new async functionality in a Jupyter Notebook results in the following error:
RuntimeError: This event loop is already running
From doing a bit of research it seems that the problem is that notebooks also use the async loop and the functionality can't be nested. The current workaround is to use the package nest_asyncio and add the following before downloading expressions:
importnest_asyncionest_asyncio.apply()
When time allowed we should probably look more into it and see if there is a permanent fix for this.
The text was updated successfully, but these errors were encountered:
Thanks for reporting. For now, I agree we can leave users to patch their notebooks with the nest_asyncio.apply(), but if this becomes painful enough, we can try to solve in ReSDK.
Trying to download expression data with the new async functionality in a Jupyter Notebook results in the following error:
From doing a bit of research it seems that the problem is that notebooks also use the async loop and the functionality can't be nested. The current workaround is to use the package
nest_asyncio
and add the following before downloading expressions:When time allowed we should probably look more into it and see if there is a permanent fix for this.
The text was updated successfully, but these errors were encountered: