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

Issue with epi.pp.pca : Unexpected Argument Error #139

Open
macelik opened this issue Jun 13, 2024 · 0 comments
Open

Issue with epi.pp.pca : Unexpected Argument Error #139

macelik opened this issue Jun 13, 2024 · 0 comments

Comments

@macelik
Copy link
Member

macelik commented Jun 13, 2024

Hello,

I encountered an issue while performing basic QC analysis for single-cell data using episcanpy. Here's what happened:

I created a new environment and installed the necessary libraries, including scanpy, episcanpy, and celltypist. When I tried to run PCA using the command epi.pp.pca(adata, n_comps=50), I received the following error:

pca() takes from 1 to 2 positional arguments but 11 were given

Initially, I thought it might be an issue with my setup, so I recreated the environment from scratch, but the error persisted. Interestingly, the same command works smoothly in my old environment. This leads me to believe that the issue might be related to the versions of the packages.

I am not sure which package version is causing this issue, but it seems to be a compatibility problem. I am attaching the list of pip libraries for both envs in here.

new_env_pip_list.txt
old_env_pip_list.txt

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