-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error in network.batch_removal() due to missing positional argument in AnnData.concatenate() #83
Comments
Hi, any update with this issue? |
Hi there, I got it working by installing the below libraries with the specified versions, and I have applied the changes in this PR #77. anndata==0.9.1 |
@macelik thank you. I tried it. however I am getting error
|
@umahajanatlmu it seems that you need the packages versions listed here #82 |
Hello,
I'm encountering an issue while using scgen for batch correction. The training part works fine, but I'm facing an error when calling network.batch_removal(). The error message is as follows:
Traceback (most recent call last): File "/work/project/ladcol_011/polish/community-paper/src/data_preprocessing/vanGalen_Hourigan/./quick.py", line 281, in <module> adata_afterCorrection = network.batch_removal() File "/work/project/ladcol_011/conda_path/miniconda3/envs/scgen-env/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "/work/project/ladcol_011/conda_path/miniconda3/envs/scgen-env/lib/python3.10/site-packages/scgen/_scgen.py", line 268, in batch_removal all_shared_ann = AnnData.concatenate( TypeError: AnnData.concatenate() missing 1 required positional argument: 'self'
I have attempted to resolve this issue by trying different versions of Python (3.7 and 3.10) as well as different versions of
anndata
(0.8, 0.9, and 0.9.1). Additionally, I have tested solutions mentioned in previous issues, such as usingpandas==1.5.2
. I have also tried the pull request that aims to address this problem (#77), but unfortunately, none of these attempts have been successful.I would greatly appreciate any assistance you can provide.
The text was updated successfully, but these errors were encountered: