Skip to content

Commit

Permalink
concatenated exceptions with \n instead of ; char, bump version to 0.…
Browse files Browse the repository at this point in the history
…1.7d
  • Loading branch information
lshpaner committed Jun 11, 2024
1 parent c83c223 commit b0a3c65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="kfre",
version="0.1.7c",
version="0.1.7d",
author="Leonid Shpaner",
author_email="[email protected]",
description="A Python library for estimating kidney failure risk using the KFRE model developed by Tangri et al.",
Expand Down
2 changes: 1 addition & 1 deletion src/kfre/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def kfre_person(
errors.append("Must specify True or False for is_north_american.")

if errors:
raise ValueError(" ; ".join(errors))
raise ValueError("\n".join(errors))

# Use is_male directly, since it's already a boolean
# Call the risk prediction function with the parameters
Expand Down

0 comments on commit b0a3c65

Please sign in to comment.