From c599cf48b72c845adcf699599bc80e88019d0a5e Mon Sep 17 00:00:00 2001 From: jykr Date: Tue, 9 Apr 2024 11:07:56 -0400 Subject: [PATCH] fix replicate error --- notebooks/profile_editing_preference.ipynb | 1 + 1 file changed, 1 insertion(+) diff --git a/notebooks/profile_editing_preference.ipynb b/notebooks/profile_editing_preference.ipynb index c0e5d59..1752296 100755 --- a/notebooks/profile_editing_preference.ipynb +++ b/notebooks/profile_editing_preference.ipynb @@ -97,6 +97,7 @@ } ], "source": [ + "cdata.samples[\"replicate\"] = cdata.samples[replicate_col]\n", "cdata_bulk = cdata[:,cdata.samples[condition_col] == control_condition]\n", "if len(cdata_bulk) == 0:\n", " raise ValueError(\n",