Skip to content

Commit f40b460

Browse files
spelling error
1 parent 04022d0 commit f40b460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benj/pic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def pic_create_h5ad(fragments, peak_bed, sample, h5ad,
9797
prom_peaks = pd.unique(gr.join(pr).df["interval"])
9898
adata.var["overlap_promoter"] = adata.var_names.isin(prom_peaks)
9999
qc_vars.append("overlap_promoter")
100-
sc.pp.calculate_qc_metrics(adata, qc_vars=qc_vars, inpalce=True, percent_top=None)
100+
sc.pp.calculate_qc_metrics(adata, qc_vars=qc_vars, inplace=True, percent_top=None)
101101
if sample is not None:
102102
adata.obs[sample_name] = sample
103103
adata.obs_names = [f"{sample}#{bc}" for bc in adata.obs_names]

0 commit comments

Comments
 (0)