Skip to content

KeyError: 'name' during cbImportSeurat  #268

@malcook

Description

@malcook

cbImportSeurat is failing with

Prepared cellbrowser directory anchored_Nmast_sub_anchored_seurat3_v1.0
Warning messages:
1: In asMethod(object) :
  sparse->dense coercion: allocating vector of size 2.2 GiB
2: In asMethod(object) :
  sparse->dense coercion: allocating vector of size 2.2 GiB
3: In ExportToCellbrowser(sobj, "anchored_Nmast_sub_anchored_seurat3_v1.0",  :
  Embedding pca has more than 2 coordinates, taking only the first 2

real	21m23.629s
user	21m5.568s
sys	0m19.625s
INFO:root:Wrote logfile of R run to anchored_Nmast_sub_anchored_seurat3_v1.0/analysisLog.txt
INFO:root:identical and same size, not copying /n/projects/nt2473/Analysis/Data/sb2191-regen/SeurObj_anchored_Nmast_sub_anchored_seurat3_v1.0_.RDS to anchored_Nmast_sub_anchored_seurat3_v1.0/SeurObj_anchored_Nmast_sub_anchored_seurat3_v1.0_.RDS
INFO:root:Not writing anchored_Nmast_sub_anchored_seurat3_v1.0/desc.conf, already exists
WARNING:root:The directory ./sb2191-regen does not exist. Making a new directory now.
INFO:root:dataRoot is not set in ~/.cellbrowser or via $CBDATAROOT. Dataset hierarchies are not supported.
Traceback (most recent call last):
  File "/n/projects/mec/SRSCHPC2/local/inst/Mambaforge/24.3.0-0/envs/ucsc-cell-browser/bin/cbImportSeurat", line 10, in <module>
    sys.exit(cbImportSeuratCli())
  File "/n/projects/mec/SRSCHPC2/local/inst/Mambaforge/24.3.0-0/envs/ucsc-cell-browser/lib/python3.9/site-packages/cellbrowser/seurat.py", line 567, in cbImportSeuratCli
    build(outDir, options.htmlDir, port=options.port)
  File "/n/projects/mec/SRSCHPC2/local/inst/Mambaforge/24.3.0-0/envs/ucsc-cell-browser/lib/python3.9/site-packages/cellbrowser/cellbrowser.py", line 5575, in build
    dataRoot, relPath, inConf, dsName = fixupName(inConfFname, inConf)
  File "/n/projects/mec/SRSCHPC2/local/inst/Mambaforge/24.3.0-0/envs/ucsc-cell-browser/lib/python3.9/site-packages/cellbrowser/cellbrowser.py", line 5490, in fixupName
    relPath = inConf["name"]
KeyError: 'name'

using a fresh install of cellBrowser

what more diagnostics can I provide

FWIW installing the sample from https://cells.ucsc.edu/downloads/samples/mini.tgz works perfectly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions