Skip to content

Commit 38a293b

Browse files
authored
Merge branch 'main' into file-collection-metadata
2 parents e7af5ae + b172dd3 commit 38a293b

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
@@ -1001,9 +1001,10 @@ def assign_variants(summary, rename_cols):
10011001
# If the value is an actual float
10021002
elif isinstance(val, float):
10031003
val = str(val).replace(".", "p")
1004-
if val.endswith("p0"):
1005-
# Remove the trailing "p0"
1006-
val = val[:-2]
1004+
1005+
if val.endswith("p0"):
1006+
# Remove the trailing "p0"
1007+
val = val[:-2]
10071008

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

0 commit comments

Comments
 (0)