Skip to content

Commit

Permalink
Merge pull request #19 from klarman-cell-observatory/boli
Browse files Browse the repository at this point in the history
Updated
  • Loading branch information
bli25 committed Jun 8, 2020
2 parents 18b4276 + 570a86c commit 9141246
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pegasusio/multimodal_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,9 @@ def filter_data(self,
unselected = []
for key, unidata in self.data.items():
if (key in focus_set) and (unidata.get_modality() == "rna"):
mito_prefix = mito_dict.get(unidata.get_genome(), default_mito)
mito_pref = mito_dict.get(unidata.get_genome(), default_mito)
if "passed_qc" not in unidata.obs:
calc_qc_filters(unidata, select_singlets = select_singlets, remap_string = remap_string, subset_string = subset_string, min_genes = min_genes, max_genes = max_genes, min_umis = min_umis, max_umis = max_umis, mito_prefix = mito_prefix, percent_mito = percent_mito)
calc_qc_filters(unidata, select_singlets = select_singlets, remap_string = remap_string, subset_string = subset_string, min_genes = min_genes, max_genes = max_genes, min_umis = min_umis, max_umis = max_umis, mito_prefix = mito_pref, percent_mito = percent_mito)
apply_qc_filters(unidata)
selected_barcodes = unidata.obs_names if selected_barcodes is None else selected_barcodes.union(unidata.obs_names)
else:
Expand Down

0 comments on commit 9141246

Please sign in to comment.