Update version to 0.19.3 and enhance gene symbol handling#72
Update version to 0.19.3 and enhance gene symbol handling#72parashardhapola merged 1 commit intomasterfrom
Conversation
- Bump package version to 0.19.3. - Introduce materialization of a canonical gene symbols column in AnnData, improving gene symbol management. - Refactor CyteType initialization to handle gene symbols more flexibly, including support for temporary columns. - Update save_features_matrix to conditionally include gene symbols metadata in output files. - Enhance tests to validate new gene symbol handling and ensure proper functionality.
Review Summary by QodoEnhance gene symbol handling with canonical column materialization
WalkthroughsDescription• Bump package version to 0.19.3 • Introduce materialization of canonical gene symbols column in AnnData for flexible gene symbol handling • Refactor CyteType initialization to support temporary gene symbol columns with proper cleanup • Update save_features_matrix to conditionally include gene symbols metadata in output files • Add comprehensive tests validating new gene symbol handling and cleanup behavior Diagramflowchart LR
A["Gene Symbol Resolution"] --> B["Materialize Canonical Column"]
B --> C["Temporary Column in adata.var"]
C --> D["CyteType Initialization"]
D --> E["save_features_matrix"]
E --> F["Store gene_symbols_column metadata"]
D --> G["Cleanup on Error"]
G --> H["Remove Temporary Column"]
D --> I["cleanup Method"]
I --> H
File Changes1. cytetype/__init__.py
|
Code Review by Qodo
1. Gene symbol collisions overwrite
|
save_features_matrixto conditionally include gene symbols metadata in output files.