-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manage button clicks and input on Censored Data tab as the method is applied or undone #158
Comments
This ticket will take 3-4 hours. I need to deal with these issues
branch: Manage-input-on-Censore-tab-#158 |
This took less time than I thought. Here is the behavior now
and after hitting Apply ... Then after hitting "Undo Method Application" I ran the process repeatedly and the numbers on the example first-10-rows seems to stay the same. |
Note: need to find a dataset with Over-Detects in order to test the Over-Detect handling. I am using Utah 15k example data and there are no over detects. Shepardstown has 1 over-detect, although there are 1809 rows flagged "Result value(s) above the national threshold for a given characteristic, possibly indicating non-sensical value(s) (see TADA.ResultValueAboveUpperThreshold.Flag)" |
Manage input on censor tab #158
Describe the bug
If a user clicks "Apply Methods to Dataset" more than once... the method is applied over and over.
For example,
Non-Detect Handling Method = Multiply detection limit by x
Multiplier (x) = 0.5
Over-Detect Handling Method = No change
then each time the sum reduction = ½ * ½ * ½.
Also, multiple different methods can be applied now which does not make sense. A user must only select one, and then undo the method if they want to select and apply a different one after reviewing the table.
To Reproduce
Use any dataset and go to the censored data tab, click the "Apply Methods to Dataset" button more than once and observe.
Expected behavior
The "Apply Methods to Dataset" button should only be able to be clicked once. After that, the button should disappear or maybe turn grey. If a user wants to undo the method they can click the "Undo Method Application" button. If they click that, they the "Apply Methods to Dataset" should be made available again.
Screenshots
Reminders for TADA contributors addressing this issue
New features should include all of the following work:
Create the function/code.
Document all code using comments to describe what is does.
Create tests.
The text was updated successfully, but these errors were encountered: