dynamo-release icon indicating copy to clipboard operation
dynamo-release copied to clipboard

None object in dictionary will be ignored when saving to h5ad

Open Sichao25 opened this issue 2 years ago • 3 comments

It seems that if we initialize the value in a dictionary adata.uns[key] with None, it will be ignored when saving to h5ad. As a result, when we load the file, adata.uns[key] will raise a KeyError. We may solve this by adding a check before saving or use other value instead of None when initializing the dictionary in .uns.

Sichao25 avatar Jul 15 '23 22:07 Sichao25

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days

github-actions[bot] avatar Oct 14 '23 00:10 github-actions[bot]

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days

github-actions[bot] avatar Jan 15 '24 00:01 github-actions[bot]

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days

github-actions[bot] avatar Apr 30 '24 00:04 github-actions[bot]