Skip to content

Commit

Permalink
fix silly qc_filtered bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mtvector committed Nov 18, 2024
1 parent 6b20095 commit c5a928f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sciduck/basic_qc.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ def apply_constraints(adata: AnnData,

column_data = adata.obs[col]
col_keeper = pd.Series([True] * adata.n_obs, index=adata.obs.index)

adata.uns['qc_filtered'][col] = {}

# Iterate over the dictionary of constraints
for constraint_key, constraints in constraints_dict.items():
adata.uns['qc_filtered'][col] = {}
gt = pd.Series([True] * adata.n_obs, index=adata.obs.index)
lt = pd.Series([True] * adata.n_obs, index=adata.obs.index)
exclude = pd.Series([True] * adata.n_obs, index=adata.obs.index)
Expand Down

0 comments on commit c5a928f

Please sign in to comment.