Skip to content

KeyError: 'total' ERROR conda.cli.main_run:execute(125): conda run python /mnt/f/TFvelo/Untitled-1.py failed. (See above for error) #15

@qm713152

Description

@qm713152

Traceback (most recent call last):
File "/mnt/f/TFvelo/Untitled-1.py", line 22, in
TFv.tl.recover_dynamics(adata, n_jobs=n_jobs, max_iter=20, var_names='all',
File "/mnt/f/TFvelo/TFvelo/tools/dynamical_model.py", line 527, in recover_dynamics
X = adata[:, var_names].layers[("total" if use_raw else "M_total")]
File "/home/qm/miniforge3/envs/TFvelo_env/lib/python3.8/site-packages/anndata/_core/aligned_mapping.py", line 113, in getitem
_subset(self.parent_mapping[key], self.subset_idx),
File "/home/qm/miniforge3/envs/TFvelo_env/lib/python3.8/site-packages/anndata/_core/aligned_mapping.py", line 148, in getitem
return self._data[key]
KeyError: 'total'
ERROR conda.cli.main_run:execute(125): conda run python /mnt/f/TFvelo/Untitled-1.py failed. (See above for error)

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