From 0f4c5d73d3ee325ec2c37582ccb0fd4e745e76c4 Mon Sep 17 00:00:00 2001 From: Daniel Bolin Date: Tue, 12 Sep 2023 15:37:47 -0400 Subject: [PATCH] Fix celltypist bug --- containers/celltypist/context/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/celltypist/context/main.py b/containers/celltypist/context/main.py index 375bb8f..afac137 100644 --- a/containers/celltypist/context/main.py +++ b/containers/celltypist/context/main.py @@ -62,7 +62,7 @@ def normalize_var_names( names = data.var_names def getNewName(name: str): - (key,) = name.split(".", 1) + key = name.split(".", 1)[0] return lookup.get(key, name) data.var_names = t.cast(t.Any, names.map(getNewName))