Skip to content

Commit 9ececd6

Browse files
committed
Store flavor in highly_variable_features_scanpy
1 parent db4e12e commit 9ececd6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • src/feature_annotation/highly_variable_features_scanpy

src/feature_annotation/highly_variable_features_scanpy/script.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@
219219
# drop mean_bin as mudata/anndata doesn't support tuples
220220
data.varm[par["varm_name"]] = out.drop("mean_bin", axis=1)
221221

222+
data.uns["hvg"] = {"flavor": par["flavor"]}
223+
222224
logger.info("Writing h5mu to file")
223225
write_h5ad_to_h5mu_with_compression(
224226
par["output"], par["input"], modality_name, data, par["output_compression"]

0 commit comments

Comments
 (0)