From aa9f6a2f501f5205ea4c03c9caca96632a6b3735 Mon Sep 17 00:00:00 2001 From: John Gardner Date: Thu, 22 Jan 2026 12:30:24 -0800 Subject: [PATCH] PerturbAtlas: .strip('_') to fix double underscores in terms Perturb_11612_KD_BRD8__SRP113334 -> Perturb_11612_KD_BRD8_SRP113334 Perturb_11617_KD_CDKN2A__SRP113334 -> Perturb_11617_KD_CDKN2A_SRP113334 All other terms unchanged. --- .../PerturbAtlas.ipynb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PerturbAtlas/Signatures of Differentially Expressed Genes for Gene Perturbations/PerturbAtlas.ipynb b/PerturbAtlas/Signatures of Differentially Expressed Genes for Gene Perturbations/PerturbAtlas.ipynb index 4ba080e..a8d6038 100644 --- a/PerturbAtlas/Signatures of Differentially Expressed Genes for Gene Perturbations/PerturbAtlas.ipynb +++ b/PerturbAtlas/Signatures of Differentially Expressed Genes for Gene Perturbations/PerturbAtlas.ipynb @@ -102,7 +102,8 @@ " .replace('+','')\n", " .replace('-','')\n", " .replace('*','')\n", - " .replace('@',''))\n", + " .replace('@','')\n", + " .strip('_'))\n", "pertframe" ] },