Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiWaldrant committed Oct 2, 2024
1 parent 0bbd043 commit b3c841b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data_processors/process_dataset/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
print(f">> Randomly subsampling observations to {par['n_obs_limit']}", flush=True)
print(f">> Setting seed to {par['seed']}", flush=True)
random.seed(par["seed"])
obs_filt = np.ones(dtype=np.bool_, shape=adata.n_obs)
obs_filt = np.ones(dtype=np.bool_, shape=adata_output.n_obs)
obs_index = np.random.choice(np.where(obs_filt)[0], par["n_obs_limit"], replace=False)
adata_output = adata[obs_index].copy()
adata_output = adata_output[obs_index].copy()

# remove all layers except for counts
print(">> Remove all layers except for counts", flush=True)
Expand Down

0 comments on commit b3c841b

Please sign in to comment.