Repository navigation
Closed
Labels
bugSomething isn't working
Description
Part of #87.
wave 2 · 0.17.5 · size M · starts after: nothing
Goal. Loom, SCope and MuData exports work from every backend, and keep labels.
Owns: conversion/{loom,scope,mudata}.py, docs/reference/formats/{loom,mudata}.md
Approach:
- SCope export from Zarr: use
.shape[0], notlen()(F009). - Loom export:
- write anndata 0.7 categoricals as their labels (F008);
- refuse or rename, before writing, on CellID/Gene clashes and on an obs/obsm
ClusterIDclash (F103, F104); --layerwithout X fails early (F102).
- Loom import keeps
/matrixwhen a layer is also namedmatrix(F047). - A hardening fix for loom metadata (F139, security; details after the fix is released).
- MuData export reads dense X in
--chunkblocks (F027). - Fix the loom.md defaults (F153).
Findings
| Ref | Sev | Finding | Where |
|---|---|---|---|
| F008 | H | Loom export writes anndata 0.7 categorical obs/var columns as their integer codes instead of their labels | src/adata/conversion/loom.py:1009 |
| F009 | H | SCope export (--scope) from any Zarr store crashes: len() of a zarr-python 3 Array | src/adata/conversion/scope.py:767 |
| F027 | H | MuData export reads dense X in fixed 16,384-row blocks that convert cannot change: peak RSS exceeds the whole matrix for wide dense X | src/adata/conversion/mudata.py:703 |
| F047 | M | Loom import silently drops the main /matrix when X is a layer and a layer is also named 'matrix' | src/adata/conversion/loom.py:304 |
| F102 | L | Loom export with --layer on a store without X fails during the write with a raw HDF5/Zarr error | src/adata/conversion/loom.py:794 |
| F103 | L | Loom export silently drops an obs column named CellID and var columns named Gene/Accession, though the docs promise a warning | src/adata/conversion/loom.py:1059 |
| F104 | L | Plain loom export crashes mid-write when an obs column and an obsm entry are both named ClusterID | src/adata/conversion/loom.py:1065 |
| F139 | L | Loom metadata reading needs a size bound (security; details after the fix is released) | |
| F153 | L | loom.md flag defaults are incomplete, and the count of differences from anndata.read_loom disagrees with the module | docs/reference/formats/loom.md:42 |
Done when one PR on fix/b8b closes this, with a regression test against an oracle for every finding, and docs and changelog in the same PR.
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity