Skip to content

Commit f52a419

Browse files
authored
Merge branch 'main' into list-metadata
2 parents b31ee74 + b172dd3 commit f52a419

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cubids/utils.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,9 +1109,10 @@ def assign_variants(summary, rename_cols):
11091109
# If the value is an actual float
11101110
elif isinstance(val, float):
11111111
val = str(val).replace(".", "p")
1112-
if val.endswith("p0"):
1113-
# Remove the trailing "p0"
1114-
val = val[:-2]
1112+
1113+
if val.endswith("p0"):
1114+
# Remove the trailing "p0"
1115+
val = val[:-2]
11151116

11161117
# Filter out non-alphanumeric characters
11171118
val = re.sub(r"[^a-zA-Z0-9]", "", val)

0 commit comments

Comments
 (0)