From 690c515d319d53b2270304ae0e63fd450ac05363 Mon Sep 17 00:00:00 2001 From: Marius1311 Date: Fri, 13 Nov 2026 13:32:13 +0100 Subject: [PATCH] CONVENTIONS: create working objects unconsolidated, at a new path Co-Authored-By: Claude Opus 5.5 --- {{cookiecutter.project_name}}/CONVENTIONS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/{{cookiecutter.project_name}}/CONVENTIONS.md b/{{cookiecutter.project_name}}/CONVENTIONS.md index 7baa736..f347a01 100644 --- a/{{cookiecutter.project_name}}/CONVENTIONS.md +++ b/{{cookiecutter.project_name}}/CONVENTIONS.md @@ -80,6 +80,8 @@ tasks accumulate. - Never write an in-memory object over a working object: it erases what others added since you read it. Changing or removing a key means a new dated copy. +- Create one with `adata.write_zarr(path, consolidate_metadata=False)`, at a path that doesn't exist yet. Readers of + a consolidated store never see keys added later, so `commit_adata` refuses one. - Give keys descriptive names, and list each in the task README's Write-back section. - Labels: one categorical `obs` column, colours in `uns["_colors"]`. - A result that would grow the object materially (`analyze_anndata_size`) becomes a standalone AnnData on the same