Skip to content

Commit

Permalink
Fix celltypist bug
Browse files Browse the repository at this point in the history
  • Loading branch information
axdanbol committed Sep 12, 2023
1 parent b7d7d5a commit 0f4c5d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/celltypist/context/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 0f4c5d7

Please sign in to comment.