Skip to content

Commit

Permalink
minor misc_utils.normalize_string fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dmichaels-harvard committed May 13, 2024
1 parent 8f78d94 commit 71a4318
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dcicutils/misc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2560,7 +2560,7 @@ def normalize_string(value: Optional[str]) -> Optional[str]:
if value is None:
return ""
elif isinstance(value, str):
return value.strip()
return re.sub(r"\s+", " ", value).strip()
return None


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dcicutils"
version = "8.8.4.1b28" # TODO: To become 8.8.5
version = "8.8.4.1b30" # TODO: To become 8.8.5
description = "Utility package for interacting with the 4DN Data Portal and other 4DN resources"
authors = ["4DN-DCIC Team <support@4dnucleome.org>"]
license = "MIT"
Expand Down

0 comments on commit 71a4318

Please sign in to comment.