Skip to content

Commit

Permalink
fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche committed Oct 4, 2024
1 parent da2a7ca commit b7ba255
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cellarr/utils_anndata.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ def _extract_info(
if len(_common) > 0:
features = adata.obs[_common]

for col in obs_subset_columns:
if col not in features.columns:
features[col] = ["NA"] * adata.shape[0]
for col in obs_subset_columns:
if col not in features.columns:
features[col] = ["NA"] * adata.shape[0]

return symbols, features, adata.shape[0]

Expand Down

0 comments on commit b7ba255

Please sign in to comment.