Skip to content

Commit

Permalink
specify it is boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-canta committed Sep 10, 2024
1 parent ae28bf9 commit 54871ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astrovascpy/bloodflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ def simulate_ou_process(
"""

if "entry_noise" not in params:
raise BloodFlowError(f"Missing parameter: entry_noise")
raise BloodFlowError(f"Missing boolean parameter: entry_noise")
if not isinstance(params["entry_noise"], bool):
raise BloodFlowError(f"The parameter entry_noise must be true or false")

Expand Down

0 comments on commit 54871ee

Please sign in to comment.