Changelog#
All notable changes to this project will be documented in this file.
Unreleased#
Added#
atlas.tl.CellRankExtension.set_kernelsupplies a precomputed transition kernel, as an alternative toatlas.tl.CellRankExtension.compute_kernel, on whichatlas.tl.CellRankExtension.runoperates unchanged. The kernel is anumpy.ndarrayorscipy.sparsematrix, whose rows and columns are taken to followmudata.obs_names. A matrix whose rows do not sum to 1 is normalised with a warning, and one with negative entries or rows with no positive entry is rejected.
Fixed#
Cap muon <0.2 as muon 0.2.0 no longer accepts
use_raw=None, whichatlas.pl.embeddingpasses by default.Cap anndata <0.13 as anndata 0.13 with scanpy <1.12 fails to plot boolean
.obscolumns.Restore the Intel macOS instructions in the README. Intel macOS now needs
scikit-miscfrom conda-forge as well, as scikit-misc 0.5.3 publishes no macOS x86_64 wheels and building it needs a Fortran compiler.Linux aarch64 installs the
treesextra from wheels alone, as scikit-misc 0.5.3 publishes aarch64 wheels; the platform record no longer says it needs a build.
[1.1.2] - 2026-10-07#
Cap scanpy <1.12 as higher versions are incompatible with current muon.
[1.1.1] - 2026-09-15#
Fixed#
Cap anndata <= 0.13.3 as the actual 0.13.3.post0 version has no H5Group anymore and CellRank actual version does not deal yet with it. (cellrank issue #1377)
Added#
The published release is now verified on every platform it claims, by installing it from PyPI the way this project’s own documentation tells each platform to install it:
pip install atlas-smilieson Linux x86_64, Linux aarch64, macOS arm64 and Windows, and the documented conda-provided base on Intel macOS, each at Python 3.11 and 3.14. It runs when a release is published and twice a month thereafter.
[1.1.0] - 2026-08-26#
Added#
atlas.tl.PalantirExtension.early_cellselects the initial cell required byatlas.tl.PalantirExtension.runfrom the multiscale diffusion space, so it no longer has to be picked by hand. Selection is delegated topalantir.utils.early_cell, which cannot accept aMuDatadirectly. The expensive fallback remains opt-in throughfallback_seedand warns before it runs, since it costs as much asrunitself.atlas.pp.compute_gene_activityderives a gene activity modality from scATAC-seq without building any graph, so it can be run, inspected or replaced on its own. The number of components used for its reduction is settable throughn_comps.atlas.pp.wnnbuilds a weighted nearest neighbor graph over any two modalities, rather than only gene expression and gene activity. Neighborhood size, number of components and representation accept either a single value for every modality or a per-modality mapping.atlas.pp.knnbuilds a nearest neighbor graph over an already integrated representation, such as the output of a joint embedding method, for which no weighting applies. It stores the graph under"joint"by default, rather than the"wnn"used byatlas.pp.wnn, so that a graph built without weighting is not filed under a name denoting one.atlas.tl.umapembeds a graph built usingatlas.pp.wnnoratlas.pp.knninto an UMAP. The function is compatible with graphs computed via ATLAS and extendmuon.tl.umaporscanpy.tl.umapdepending whether the graph was computed using multiple modalities or a single precomputed matrix. Whenneighbors_keyis not given the graph is found rather than assumed: the two entry points store under different keys, so no default would be right for both. The embedding is always stored in.obsm["X_umap"], whereatlas.pllooks for it.atlas.tl.PalantirExtension.compute_kernelandatlas.tl.CellRankExtension.compute_kernelacceptkey, naming the record under which a graph is stored. The matrices they need, and the neighborhood size, are resolved from that record, so the key alone identifies a graph however it was built. Names are looked up in the record rather than assembled from the key, falling back to the conventional name when the record omits one.atlas.pl.embeddingplots cells in a stored embedding, extendingmuon.pl.embedding. Any embedding in.obsmis resolved, named with or without theX_prefix, rather than only those the plotting dependency privileges by name. A color key resolves against.obsand the features of every modality; continuous and categorical keys may be mixed. Colors chosen for a categorical key are recorded on the object as.uns["<key>_colors"], the convention the scverse ecosystem reads, so values keep their colors across calls and agree with figures drawn byscanpyormuondirectly; colors already recorded there are used as they are. Keys that resolve to nothing are reported before plotting, naming where they were looked for, rather than failing inside a dependency.States deriving from the TI in inference process are recorded as categorical columns of
mudata.obs—initial_states,terminal_statesandmacrostates— where a cell carries the name of the state it belongs to, or no value where it belongs to none. Separate columns per kind are what let a cell belong to states of more than one kind, whichallow_overlappermits, and what a single column could not represent.macrostatesrecords the coarse-graining where one was computed, which isatlas.tl.CellRankExtensioninferring its own states, and the union of the initial and terminal states where none was —atlas.tl.PalantirExtension, which has no such concept, andCellRankExtensiongiven its states — so the column can be read whichever entry point produced the object.Inferred states colors are recorded where the scverse ecosystem reads them:
uns["initial_states_colors"],uns["terminal_states_colors"]anduns["macrostates_colors"], each a list aligned to its column’s categories. They are assigned in a single pass over the union of the names so a state appearing under more than one kind carries the same colour in each list, no two states share a colour, and the same names are coloured the same way whichever inference produced them.uns["atlas_state_palette"]records what was assigned.atlas.tl.reset_state_colorsrestores the recorded color assignment and rewrites every list fromuns["atlas_state_palette"].atlas.tl.migrate_statesrecords the states of an object written by the earlier 1.0.0 version in the current form. The macrostate column is reconstructed as the union of the initial, terminal and intermediate states recorded. It is non-destructive and idempotent.atlas.pl.trendsplots how a transcription factor’s expression and the chromatin activity of the genes it may regulate move along pseudotime, per lineage. It supersedesatlas.pl.plot_trends. Several genes are drawn in one figure instead of one figure each. Lineage colours come from.obs["terminal_states"]and.uns["terminal_states_colors"], falling back to the superseded mapping with aFutureWarning.return_modelsreturns the fitted models instead of the axes.atlas.pl.fate_probabilitiesplots which fates each cell is torn between on an embedding. It supersedesatlas.pl.plot_fate_probabilities. NoLineageobject from CellRank is built: the recorded probabilities go to the drawing call as they are, with the colours supplied alongside them. Colours come from.obs["terminal_states"]and.uns["terminal_states_colors"], matched by name, falling back to the superseded mapping with aFutureWarning. A single lineage — whether the object records one or one is named — is shaded by its own probability on a scale fixed to[0, 1], so it renders flat exactly when nothing varies rather than by a special case. A lineage name that is not recorded raises rather than being dropped, and a probability that is not a number is reported and nothing is drawn.atlas.pl.fate_treeplots the branching structure implied by fate probabilities, using scFates. It supersedesatlas.pl.plot_tree. Both views are drawn on one figure: the principal tree projected onto an embedding, and the dendrogram, and coloured by onecolor. One legend and one colour bar are drawn for the figure rather than one of each per view.return_treehands back the fitted tree instead of the axes, andtreetakes one back to be drawn again without refitting;rootnames which recorded initial state anchors the tree. Initial states are read from.obs["initial_states"], falling back to the superseded mapping with aFutureWarning, and fate colours from.obs["terminal_states"]and.uns["terminal_states_colors"]. There is no parameter narrowing the fates.atlas.tl.MultiLineageGAMfits the models behind those curves and can be used on its own. Differently from the previous MultiBranchGAM class it allows for a sequence of genes and fits the transcription factor once per lineage for the whole call rather than once per gene. Each gene is standardized from its own values, so fitting several at once gives what fitting each separately gives. Results are grouped by lineage, with the pseudotime grid at the lineage level since it derives from that lineage’s weights.The optional PETSc acceleration behind
atlas.tl.CellRankExtension.runis now documented on the method.method="krylov"needspetsc4pyandslepc4py, which ATLAS does not install. Without them CellRank falls back tomethod="brandts", which requires a dense transition matrix. Neither default changed, and ATLAS adds no message of its own — CellRank already reports both substitutions when they happen.atlas.pp.compute_gene_activitynow documents that reading the fragment file requirespysam, which neither ATLAS normuoninstalls by default — it sits behind muon’satacextra. ATLAS keeps muon’s own arrangement and lets muon’sImportError, which carries its own installation instructions, reach the caller unaltered.The platforms ATLAS supports are now recorded in
platform-support.tomland checked installation and import. The record carries one entry per platform, Python version and installation shape, each stating the outcome expected of it, and thePlatformsworkflow resolves every one of them against PyPI and fails when reality differs. ATLAS is additionally installed and imported on Linux x86_64 and aarch64, macOS arm64 and x86_64, and Windows x86_64, and the test suite now runs on macOS and Windows as well as Linux. macOS x86_64 is documented as unsupported:pip install atlas-smiliesfails there at every Python version. The README states what has been verified and to what depth: a platform checked only by resolution is not described as tested.Platform verification now runs at a cadence matched to what each check detects. The resolution matrix — which cross-resolves every supported platform against PyPI in about twenty seconds — runs on every change, since it is the only check that sees a dependency change breaking a platform the test suite does not run on. The jobs that install and import ATLAS on real runners for each platform, and the non-Linux test suites, run on the twice-monthly schedule instead: what they detect is upstream packaging changing rather than anything in this repository. Every claim in
platform-support.tomlis unchanged; only when it is checked has changed.Installation is documented to benefit from a fresh environment, created with either
venvor conda, and the README warns against installing into an environment that already holds other work. Both environment tools are verified in CI on every supported platform: a clean conda environment resolves the same versions as a virtual environment, since conda supplies the interpreter andpipresolves the dependencies either way.macOS x86_64 (Intel) is supported through a documented exception. Installing
numba,llvmlite,jaxandjaxlibfrom conda-forge first and thenpip install atlas-smilies[trees]on top works, and is verified in CI on Python 3.11 and 3.14. The test suite also runs in that environment on the twice-monthly schedule.
Fixed#
atlas.pl.fate_treecan no longer be installed against a scFates it raises on.scfateswas declared by name alone, the only dependency with no bound at all, so a resolver could select any release ever published. The floor is now>=1.2.0, the oldest release measured to run within the dependency ranges ATLAS declares.The principal tree drawn from fate probabilities is now reproducible for a given
random_state. In version 1.0.0 the seed reached only the pseudotime projection and neverscFates.tl.tree, so the same object drew a different tree on every call — down to a different number of tips.The state anchoring that tree is no longer chosen by dictionary order. In version 1.0.0 the root was taken from whichever initial state came first in
uns["initial_states"], and the root decides which fate reads as the origin and which read as outcomes — pseudotime along the tree being distance from it.atlas.pl.fate_treeuses the sole recorded initial state, or raises naming them when several are recorded androotnames none. Cells recorded for a state that the object no longer holds now raise, rather than resolving to the last row of the assignment matrix.atlas.pl.fate_treedoes not requireobs["kl_divergence"], whichatlas.pl.plot_treereturns early without. Nothing reads that column: cellrank computes the priming degree from the fate probabilities themselves.cluster_keyinatlas.tl.PalantirExtension.runnow renames inferred states and nothing else, which is what it was documented to do. In version 1.0.0 is two terminal cells fell in one cluster it also merged them into a single state and summed their fate probabilities. States are now disambiguated instead, asatlas.tl.CellRankExtensiondoes, appending a number where a name is claimed by more than one state and leaving a name claimed by one alone; disambiguation spans the initial and terminal states together, so a state under both keeps one name. Callers who passcluster_keywill findobsm["fate_probabilities"]differs from 1.0.0 — one column per terminal state rather than per cluster, unsummed.
Deprecated#
atlas.pl.plot_trendsis superseded byatlas.pl.trends. It continues to behave exactly as before and now emits aFutureWarning; it is removed in 2.0.0, together with the fitting procedure it uses, which exists only to serve it.atlas.pl.plot_treeis superseded byatlas.pl.fate_tree. It continues to behave exactly as before — same two figures, same colouring of only the dendrogram, same warn-and-return on a key it cannot find, same irreproducible fit — and now emits aFutureWarning; it is removed in 2.0.0.atlas.pl.plot_fate_probabilitiesis superseded byatlas.pl.fate_probabilities. It continues to behave exactly as before — same colouring, same handling of a lineage it cannot find, same return value — and now emits aFutureWarning; it is removed in 2.0.0.mudata.uns["initial_states"],["terminal_states"],["intermediate_states"]and["fate_state_colors"]are superseded by the state columns and colour lists above. They continue to be written and to behave exactly as before, and are removed in 2.0.0. A stored key cannot emit aFutureWarningwhen it is read, so nothing announces this at the point of use;atlas.tl.migrate_statesis the route for an object already saved.atlas.pl.plot_embeddingis superseded byatlas.pl.embedding. It continues to behave exactly as before — same color map, same handling of keys it cannot resolve, same return value, and it still leaves the object it is given untouched — and now emits aFutureWarning; it is removed in 2.0.0.knn_keyanddistance_keyinatlas.tl.PalantirExtension.compute_kernel, andconnectivity_keyinatlas.tl.CellRankExtension.compute_kernel, are superseded bykey. They continue to behave exactly as before and now emit aFutureWarning; they are removed in 2.0.0. Supplying one together withkeyraises, since which graph was intended cannot be determined from both.atlas.pp.preprocessingis superseded byatlas.pp.wnn,atlas.pp.knn,atlas.pp.compute_gene_activityandatlas.tl.umap. It continues to behave exactly as before and now emit aFutureWarning; it is removed in 2.0.0.
Changed#
atlas.pl.fate_treefits its tree without building acellrank.Lineage. The fate probabilities reachscFates.tl.cellrank_to_treeunder the keys the projection reads them back from —.obsm["lineages_fwd"],.obs["term_states_fwd"]and.uns["term_states_fwd_colors"]— so ATLAS no longer imports anything fromcellrank._utils, a private module path. The fitted tree is unchanged. A tree obtained throughreturn_treenow carries.obsm["lineages_fwd"]as a plain array where 1.1.0 carried acellrank.Lineage, so it can no longer be indexed by fate name;mudata.obsm["fate_probabilities"]is what to read instead.atlas.pl.fate_treerefuses fate probabilities the projection’s normalisation cannot carry, rather than fitting a tree on them. A value that is not a number left every cell with the same fate profile, so the tree followed the pseudotime alone and came back a plausible straight line; an infinite value zeroed its own fate’s column, so the tree was fitted on one fate fewer while still branching normally. Neither raised anything. Negative probabilities, and a fate carrying zero probability for every cell, are refused on the same terms. A cell carrying zero probability for every fate is still drawn, at the centre where a cell committed to nothing belongs.The temporary
AnnDataobjects built to interface with CellRank and Palantir are now constructed inatlas.tl.utilsrather than inside the extension classes. Internal reorganisation with no change in behaviour.atlas.tl.PalantirExtensionandatlas.tl.CellRankExtensionnow live inatlas/tl/palantir\_extension.pyandatlas/tl/cellrank\_extension.pyrespectively, replacingatlas/tl/trajectory\_inference.py. Both remain importable fromatlas.tlas before.Raised the minimum supported Palantir version from
>1.3to>=1.4.5, to establish a single numerical baseline for seeded results. Results produced against Palantir below1.4.5are not reproducible under this floor. Furthermore,palantir.utils.early_cellis guaranteed to forwardeigvec_keytopalantir.utils.fallback_terminal_cell.Raised the maximum supported pandas version
<3.0.0.matplotlibandscipyare now declared dependencies with floorsmatplotlib>=3.9andscipy>=1.13.scfatesis no longer a required dependency. It is now thetreesextra, installed withpip install atlas-smilies[trees].atlas.pl.fate_treeand the deprecatedatlas.pl.plot_treenow raise anImportErrornaming the extra and the exact install command, rather than surfacing a bareModuleNotFoundErrorthat names neither the feature nor the remedy.scveloremains required: it is lazily imported in the same way, but its only additional cost isloompy, which is pure Python and builds anywhere.
Notes#
The new graph entry points annotate the object they are given rather than returning a restricted one, so no modality is removed. Where restricting which modalities take part is required, it happens on a throwaway object.
The new graph entry points compute no embedding, matching the convention that neighbor construction and embedding are separate steps. Trajectory inference reads only the graph and is unaffected;
atlas.pldefaults to an embedding these routes do not produce.
Release#
[1.0.0] - 2026-05-25#
First public release
[0.0.5] - 2026-04-01#
Fixed#
Fix aggregation of fate probabilities when
cluster_keyis categorical preventing the inclusion of unused categoriesFix _safe_mudata MuData construction to make is compatible with mudata > 0.3
Fix muon.MuData copy mechanism in atlas.pp.preprocessing: if copy = True performs deep copy and preserves all information in the new MuData instance
Added#
Renamed atlas.tl.PalantirExtension.compute_diffusion_map in atlas.tl.PalantirExtension.compute_diffusion_maps
Removed#
Removed atlas.tl.PalantirExtension.compute_diffusion_map
[0.0.6] - 2026-04-09#
Fixed#
Fixed new MuData creation in atlas.pp.preprocessing with safe MuData copy and replacing
del data.mod["atac"]
Added#
Added function _safe_mudata
[0.0.7] - 2026-04-10#
Changed#
Changed KeyError into warning in
atlas.tl.evaluate.terminal_pseudotime_enrichmentwhen no terminal states are found. In this case np.NaN is returned.
[0.0.8] - 2026-04-13#
Changed#
Added
count_readsparameter to atlas.pp.preprocessing. The parameter is used in activity computation using muon.Parameter
n_neighborsinatlas.pp.preprocessingupdated to include None and adopt standard behavior formu.pp.neighbors.Parameter
knn_rnaandknn_actinatlas.pp.neighborsset to 15 as insc.pp.neighborsdefault version 1.12.0.Parameter
n_pcs_rnaandn_pcs_actinatlas.pp.preprocessingset to 50 as insc.pp.pcadefault version 1.12.0.
[0.0.9] - 2026-04-20#
Changed#
Changed plot size in
atlas.pl.plot_trendsand adjusted for labels and legend.
[0.0.11] - 2026-05-18#
Added#
Added
backendparameter to atlas.tl.CellRankExtension.compute_transition_matrix. The parameter is used for parallelization.Added
backendparameter to atlas.tl.CellRankExtension.run. The parameter is used for parallelization.
[0.0.12] - 2026-05-20#
Changed#
Fixed plot fate probabilities when a single fate is found
[0.1.0] - 2026-05-23#
Package release on github