Troubleshooting¶
Each entry is an error cell-curator prints, what causes it, and the fix.
Input¶
declared layer is absent: logcountsThe config names a layer the object does not have. Add it, for example
adata.layers["logcounts"] = adata.X.copy()aftersc.pp.normalize_totalandsc.pp.log1p, or point the representation at the layer you have.feature ID column is absent: gene_symbolThe config expects gene symbols in a
.varcolumn. Addadata.var["gene_symbol"] = adata.var_names, or name the column you have.features use Ensembl identifiers but no gene-symbol column or mapping was suppliedvar_namesare Ensembl IDs. Supply a symbol column orgene_mapping_path. Marker panels are written in symbols.feature IDs are not unique: ...Two features share a symbol. Run
adata.var_names_make_unique()or pick a unique column.declared canonical parent total (N) differs from input (M)expected_parent_countin the config does not match the number of clusters. Set it to the real count.
Markers¶
marker source does not exist: ...The marker path is wrong. Paths in a config resolve against the config file.
marker program 'X' has contradictory signed features: [...]A gene is listed as both positive and negative for one type. Remove it from one list.
- Every cluster is
Unknownwith “too little of the signed marker program was measured” Fewer than
evidence.min_positive_coverageof a panel’s genes are in the data. This is common on a highly-variable-gene subset. Check which panel genes are inadata.var_names, or run on all genes.
Ontology and network¶
network is offline (knowledge.network); refusing 'host'A provider needs the network and the run is offline, which is the default. Use a local ontology file, or set
knowledge.network: onlinefor the first fetch; later runs read the cache.'host' is outside the institution (knowledge.allowed_hosts)The run is in
institutionmode and the host is not listed. Add it toknowledge.allowed_hosts.
Labels have no cl_id, and knowledge/ontology_provider_status.json says
CERTIFICATE_VERIFY_FAILED
: Python could not verify the ontology server’s certificate, so the run continued
without the ontology. uv-managed Python uses its own OpenSSL, which may not find the
system certificates. Point it at them, for example
export SSL_CERT_FILE=/etc/pki/tls/certs/ca-bundle.crt on RHEL or
/etc/ssl/certs/ca-certificates.crt on Debian and Ubuntu, then use a new run_id.
CL IDs cannot be written without a validated local ontologyLabels carry Cell Ontology IDs but no ontology provider is configured. Add one, or drop the IDs.
ontology term is obsolete: CL:...The marker panel uses a retired Cell Ontology term. Replace it with the term the message names.
Gates¶
Gate A blocks biological labels until N assumption(s) are ...The plan’s assumptions need a person’s approval. Read them, then run
cell-curator assumptions approve --config CONFIG --reviewer NAME.Gate A blocks biological labels while the run is evidence-onlyThe config sets
run.mode: evidence-only, which never assigns labels. Setrun.mode: annotationfor a new run.refusing to overwrite write-back output: ...Write-back never replaces a file. Choose a new
--outputpath.refusing to replace non-identical immutable artifact: ...A run directory is write-once. Use a new
run.run_idinstead of editing a finished run.