From 2fc2892fc9c85969595f359fde75e174a2adc628 Mon Sep 17 00:00:00 2001 From: Carlos F Buen Abad Najar Date: Fri, 18 Aug 2023 00:51:02 -0500 Subject: [PATCH] removed unnecessary checkpoints --- psix/junctions2psi.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/psix/junctions2psi.py b/psix/junctions2psi.py index 35d3206..9078ee8 100644 --- a/psix/junctions2psi.py +++ b/psix/junctions2psi.py @@ -233,12 +233,8 @@ def junctions_dir_to_psi( if len(cell_list) == 0: cell_list = psi.columns mrna = tpm2mrna(tpm_file, cell_list, dtype=dtype) - ##### New thing - self.mrna_checkpoint = mrna - self.psi_checkpoint = psi - self.constitutive_sj_checkpoint = constitutive_sj + cells = psi.columns.intersection(mrna.columns) - self.cells_checkpoint = cells mrna = mrna[cells] psi = psi[cells] constitutive_sj = constitutive_sj[cells]