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

Error sending data #245

Open
mousepixels opened this issue Feb 6, 2024 · 2 comments
Open

Error sending data #245

mousepixels opened this issue Feb 6, 2024 · 2 comments

Comments

@mousepixels
Copy link

Setup

I am reporting a problem with GSEApy version, Python version, and operating
system as follows:

3.9.18 | packaged by conda-forge | (main, Dec 23 2023, 16:33:10)
[GCC 12.3.0]
CPython
Linux-6.5.0-15-generic-x86_64-with-glibc2.35
1.1.1

No data is being sent successfully with gseapy.prerank or gseapy.enrichr

enr = gp.enrichr(gene_list= temp,
gene_sets=['GO_Biological_Process_2021'],
organism='human', # don't forget to set organism to the one you desired!
outdir=None, # don't write to disk,
background = adata.var_names.tolist())

Exception: Error sending background list, try again later

pre_res = gp.prerank(rnk = ranking, gene_sets = 'GO_Biological_Process_2021', seed = 6, permutation_num = 100)
KeyError: 'Gene' (This is not an issue on my side)

I've used GSEApy successfully many times in the past. Not sure if this is an issue with the newest release or some sort of outage. I will try downgrading and see what happens.

@mousepixels
Copy link
Author

Not working in 1.0.6 either, with code that previously worked. Outage? Hasn't been working since at least yesterday though

@zqfang
Copy link
Owner

zqfang commented Feb 8, 2024

It's the unstable restfulAPI to the Enrichr server. You may want do download the GMT file instead to run the programe

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

2 participants