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

KeyError: 'name' during cbImportSeurat #268

Open
malcook opened this issue Sep 23, 2024 · 7 comments
Open

KeyError: 'name' during cbImportSeurat #268

malcook opened this issue Sep 23, 2024 · 7 comments

Comments

@malcook
Copy link

malcook commented Sep 23, 2024

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

maximilianh added a commit to ucscGenomeBrowser/cellBrowser that referenced this issue Sep 24, 2024
@maximilianh
Copy link
Owner

maximilianh commented Sep 24, 2024 via email

@malcook
Copy link
Author

malcook commented Sep 24, 2024 via email

@maximilianh
Copy link
Owner

maximilianh commented Sep 24, 2024 via email

@malcook
Copy link
Author

malcook commented Sep 25, 2024 via email

maximilianh added a commit to ucscGenomeBrowser/cellBrowser that referenced this issue Sep 26, 2024
@maximilianh
Copy link
Owner

maximilianh commented Sep 26, 2024 via email

@malcook
Copy link
Author

malcook commented Sep 26, 2024 via email

@maximilianh
Copy link
Owner

maximilianh commented Sep 27, 2024 via email

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

2 participants