-
Notifications
You must be signed in to change notification settings - Fork 43
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
cbScanpy failing with error: "ValueError: cannot reindex with a non-unique indexer" #66
Comments
Oh darn, I spent quite a while trying to track this down, then had lunch
and only then had the idea of googling it. It's a known problem of your
version combination.
scverse/scanpy#450
It's working on my machine and I just saw that my version of pandas is
pandas==0.22.0.
This problem has just been fixed in Scanpy. So there are at least two
options for you:
- you can downgrade pandas with pip install pandas==0.23.0
- you can upgrade scanpy to the current master branch (git clone + python
setup.py)
|
Closing this as it's another scanpy problem. |
got the same issue, tried to downgrade pandas as you suggested, still there:
|
It looks like this is scanpy==1.4.5.post2 anndata==0.7.1 umap==0.3.10
numpy==1.18.1 scipy==1.4.1 pandas==0.22.0 scikit-learn==0.22.1
statsmodels==0.11.0
How did you install sacnpy?
… |
overall, it doesn't look like this is an issue with the cellbrowser,
but rather with your scanpy installation?
how did you install the cellbrowser and which version?
|
Thank you for the reply! version: cellbrowser (0.7.7) |
Thanks! How did you install scanpy? With conda?
…On Wed 29 Jan 2020 at 18:11, Anastasia ***@***.***> wrote:
Thank you for the reply!
version: cellbrowser (0.7.7)
how installed: pip3 install
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#66?email_source=notifications&email_token=AACL4TIBQ6ZK7WO5SE27UYTRAG2DVA5CNFSM4GTEI3K2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKH7YSY#issuecomment-579861579>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACL4TN7HGM5SRIKNE5CKSTRAG2DVANCNFSM4GTEI3KQ>
.
|
no, same way - pip3
|
Hm, I can't reproduce this... is this on OSX or Linux? If yes, which linux
version?
This doesn't seem to be a cellbrowser problem, but something with your
scanpy install... did you ask the scanpy people?
…On Thu, Jan 30, 2020 at 12:36 AM Anastasia ***@***.***> wrote:
no, same way - pip3
Thanks! How did you install scanpy? With conda?
… <#m_1705389014784748423_>
On Wed 29 Jan 2020 at 18:11, Anastasia *@*.***> wrote: Thank you for the
reply! version: cellbrowser (0.7.7) how installed: pip3 install — You are
receiving this because you modified the open/close state. Reply to this
email directly, view it on GitHub <#66
<#66>?email_source=notifications&email_token=AACL4TIBQ6ZK7WO5SE27UYTRAG2DVA5CNFSM4GTEI3K2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKH7YSY#issuecomment-579861579>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACL4TN7HGM5SRIKNE5CKSTRAG2DVANCNFSM4GTEI3KQ
.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#66?email_source=notifications&email_token=AACL4TLTJDFD4NAQXDGOPJDRAIHGDA5CNFSM4GTEI3K2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKJFBXQ#issuecomment-580014302>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACL4TIA2BBEGCYHATKI2GDRAIHGDANCNFSM4GTEI3KQ>
.
|
think i should have started with this: i use WSL for windows with Ubuntu distribution |
Urgs. OK, I don't really want to dig into this. It's a problem with scanpy,
partially due to them constantly making breaking changes. Can you ask them?
I don't know about about scanpy. You can probably easily reproduce this
problem by running a standard scanpy tutorial.
Can I ask why you're using the scanpy pipeline of cellbrowser? Do you have
your own results or is this part of a term project and cbScanpy has a
ready-made pipeline for single cell analysis?
…On Fri, Jan 31, 2020 at 11:37 PM Anastasia ***@***.***> wrote:
think i should have started with this: i use WSL for windows with Ubuntu
distribution
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#66?email_source=notifications&email_token=AACL4TI5ZLU4SQLK33WVBH3RASR3TA5CNFSM4GTEI3K2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKQHPUI#issuecomment-580941777>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACL4TO5SNSUNIKRXJH6TZ3RASR3TANCNFSM4GTEI3KQ>
.
|
ok, sorry for bothering, i'm just trying to learn more about single cell data analysis. not much structured information around. so i found cellbrowser, and as you say cbScanpy has already prebuild pipeline so i decided that would be a way to start |
It usually is but only if your scanpy works. The recommended way to install
scanpy is conda, it has a ton of dependencies.
…On Sun 2 Feb 2020 at 02:28, Anastasia ***@***.***> wrote:
ok, sorry for bothering, i'm just trying to learn more about single cell
data analysis. not much structured information around. so i found
cellbrowser, and as you say cbScanpy has already prebuild pipeline so i
decided that would be a way to start
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#66?email_source=notifications&email_token=AACL4TIL3YXBFAUAFW4Z26DRAYOS5A5CNFSM4GTEI3K2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKRLALI#issuecomment-581087277>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACL4TMRGCHPOECMC7CPX5TRAYOS5ANCNFSM4GTEI3KQ>
.
|
Oh that would be the reason by the way: install scanpy with conda! I don’t
think the pip way is recommended anymore. Try conda as let me know if it
works then.
On Sun 2 Feb 2020 at 20:22, Maximilian Haeussler <[email protected]>
wrote:
… It usually is but only if your scanpy works. The recommended way to
install scanpy is conda, it has a ton of dependencies.
On Sun 2 Feb 2020 at 02:28, Anastasia ***@***.***> wrote:
> ok, sorry for bothering, i'm just trying to learn more about single cell
> data analysis. not much structured information around. so i found
> cellbrowser, and as you say cbScanpy has already prebuild pipeline so i
> decided that would be a way to start
>
> —
> You are receiving this because you modified the open/close state.
> Reply to this email directly, view it on GitHub
> <#66?email_source=notifications&email_token=AACL4TIL3YXBFAUAFW4Z26DRAYOS5A5CNFSM4GTEI3K2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKRLALI#issuecomment-581087277>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AACL4TMRGCHPOECMC7CPX5TRAYOS5ANCNFSM4GTEI3KQ>
> .
>
|
Hi! Installed scanpy via conda, still get the same error |
@ivirshup We think this might be an issue with scanpy (or maybe just their install of scanpy). Do you have insights into the issues this user is seeing? |
Command, cbScanpy output and error at the bottom:
This is using the 'Raw Counts Matrix - Cord Blood' h5 file is from 'Census of Immune Cells' data set here: https://preview.data.humancellatlas.org/.
The text was updated successfully, but these errors were encountered: