Test for overlapping analysis intervals with get_halflife_points() #489
Replies: 3 comments 3 replies
-
|
My typical method would be to run it inside |
Beta Was this translation helpful? Give feedback.
-
|
I would prefer a test of some kind. I can run it in a try/catch, but it's hard to distinguish that from some other random error. If it fails a try/catch, I just return the error to the user. Which isn't as clean and understandable as. If I have a test I can return something meaningful. |
Beta Was this translation helpful? Give feedback.
-
|
@john-harrold Would it work if you combine Will this strat be a valid answer? Or you are looking for something different in the UI? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When I try to use
get_halflife_points()and I have analysis intervals that overlap for example two analytes over the same interval or one analyte but specifying overlapping intervals (e.g. 0-14 days and also 0-inf), I get the error below. I understand why it's doing that :). My question is can I test for this programmatically so I can runget_halflife_points()conditionally and also send a message back to the user about why certain things wont be displayed?Beta Was this translation helpful? Give feedback.
All reactions