Code Monkey home page Code Monkey logo

Comments (9)

Jeltje avatar Jeltje commented on July 30, 2024

I then tried a run with this:
doLayouts = ['umap', 'phate', 'fa', 'fr', 'grid_fr', 'kk', 'lgl', 'drl', 'rt']
and that died with

ERROR:root:layout name grid_fr is not valid. Valid layouts: {'fa': 'ForceAtlas2', 'fr': 'Fruchterman Reingold', 'kk': 'Kamadi Kawai', 'drl': 'DrL Distributed Recursive Layout', 'tsne': 't-SNE', 'umap': 'UMAP', 'pagaFa': 'PAGA/ForceAtlas2', 'pagaFr': 'PAGA/Fruchterman-Reingold', 'phate': 'PHATE'}

Note that lgl and rt are also not listed as a valid layout, though they are listed as 'possible options' in scanpy.conf

from cellbrowser.

maximilianh avatar maximilianh commented on July 30, 2024

I'm leaving this open for now until I hear back from you.

from cellbrowser.

maximilianh avatar maximilianh commented on July 30, 2024

BTW I've successfully run cbScanpy using doLayouts="all" right now on pbmc_small

from cellbrowser.

maximilianh avatar maximilianh commented on July 30, 2024

from cellbrowser.

maximilianh avatar maximilianh commented on July 30, 2024

cbScanpy apparently worked for you now.

from cellbrowser.

Jeltje avatar Jeltje commented on July 30, 2024

Looks like I can't reopen this issue, but I just pip installed 0.4.24 and still get

Performing PAGA+ForceAtlas2
Traceback (most recent call last):
  File "/home/cellranger/anaconda3/envs/cellBrowserConda/bin/cbScanpy", line 11, in <module>
    sys.exit(cbScanpyCli())
  File "/home/cellranger/anaconda3/envs/cellBrowserConda/lib/python3.6/site-packages/cellbrowser/cellbrowser.py", line 3435, in cbScanpyCli
    adata = cbScanpy(matrixFname, confFname, figDir, logFname)
  File "/home/cellranger/anaconda3/envs/cellBrowserConda/lib/python3.6/site-packages/cellbrowser/cellbrowser.py", line 3341, in cbScanpy
    adata.obsm["X_pagaFa"] = adata.obsm["X_draw_graph_fa"]
  File "/home/cellranger/anaconda3/envs/cellBrowserConda/lib/python3.6/site-packages/numpy/core/records.py", line 500, in __getitem__
    obj = super(recarray, self).__getitem__(indx)
ValueError: no field of name X_draw_graph_fa

This happens with scanpy 1.3.2 and also after pip --upgrade scanpy with 1.3.6

from cellbrowser.

maximilianh avatar maximilianh commented on July 30, 2024

from cellbrowser.

Jeltje avatar Jeltje commented on July 30, 2024

Yes cbScanpy and yes "all".
To get it to work I replaced the recommendedLayouts line in cellbrowser.py with one that excludes PAGA and then it runs.
This is the full list of dependencies as printed at the top of the log:
scanpy==1.3.6 anndata==0.6.15 numpy==1.14.0 scipy==1.1.0 pandas==0.23.4 scikit-learn==0.20.0 statsmodels==0.9.0 python-igraph==0.7.1 louvain==0.6.1

I did pip --upgrade on all of these and ran with doLayouts=["pagaFa"]. Same error.
scanpy==1.3.6 anndata==0.6.15 numpy==1.15.4 scipy==1.1.0 pandas==0.23.4 scikit-learn==0.20.1 statsmodels==0.9.0 python-igraph==0.7.1 louvain==0.6.1

Note that the actual error comes from numpy/core/records.py so I thought the upgrade would help...

from cellbrowser.

maximilianh avatar maximilianh commented on July 30, 2024

from cellbrowser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.