-
Notifications
You must be signed in to change notification settings - Fork 7
bug: Slope selector crashes when PK parameters are removed #1153
Copy link
Copy link
Open
Labels
Next SprintThis issue will be picked on the next sprintThis issue will be picked on the next sprintbugSomething isn't workingSomething isn't working
Description
Description
The slope selector crashes when certain PK parameters are deselected. It depends too heavily on the selected PK parameters and should be more resilient.
Steps to Reproduce
Use the dummy data pre-loaded in the app by default.
- Select Drug A only
- Remove all PK parameters for Multiple IV Bolus
- Check the slope selector — it works fine
Then try removing parameters one at a time from this list:
- R2ADJ
- CLST
- CLSTD
- CMAX
- CMAXD
- LAMZHL
- LAMZ
- LAMZNPT
- LAMZLL
- R2
- LAMZSPN
- TLST
- TMAX
- VSSO
Removing just one parameter causes the slope selector to crash.
Expected Behavior
The slope selector should not crash when PK parameters are removed. It should not rely so heavily on most PK parameters being selected.
Fix Needed
The slope selector plot function needs to be fixed so it does not depend on the full set of PK parameters being present.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Next SprintThis issue will be picked on the next sprintThis issue will be picked on the next sprintbugSomething isn't workingSomething isn't working
Type
Projects
Status
No status