pip install -U piaso-toolsFixed
-
piaso.tl.predictCellTypeByGDRdiscarded its own result. The function
copies the query internally to avoid mutating.X, and the copy rebound the
local name, so the prediction was written to the copy. It printed "All
finished. The predicted cell types are saved asCellTypes_gdrin
adata.obs" and the caller's AnnData came back without that column. The
cytome path was unaffected — it writes through a separate handle, which is
why this survived. If you called it on an AnnData and found no prediction,
this was why. -
plot_embeddings_split(vmin_pct=…, vmax_pct=…)was accepted and ignored.
The parameters arrived through**kwargsand were dropped, so a request for
10/90 silently produced the full range. Nothing raised and the figure still
rendered — only the contrast was wrong. Now implemented to match
plotEmbedding, with explicitvmin/vmaxstill taking precedence.
Added
-
piaso.pp.alignSpatialCoordinates. Sections are placed on their chips
independently, so a split plot renders each panel at its own offset; this
centres each sample on its own centroid, andwith_std=Truealso equalises
apparent section size. Works on AnnData, an open cytome, or a path, and
takesgroupby=orbatch_key=for the same column.This was described in the v1.2.2 notes but did not make the 1.2.2 wheel.
It ships here. -
palette=accepts a colormap name for a categorical column, sampled
across the categories in their resolved order. On ordered categories —
ages, timepoints, stages — that turns the legend into a ramp instead of a
set of unrelated hues.