-
Notifications
You must be signed in to change notification settings - Fork 103
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
Added logical operations into Prepare>Column: Numeric>Transform dialog #7238
Added logical operations into Prepare>Column: Numeric>Transform dialog #7238
Conversation
Updating master
Updating master
Updating master
@anastasia-mbithe I have now added logical operations into this dialog. Could you first pull these changes locally and test them from your end? I did some quick testing as follows;
I also tried various logical options from the drop-down i.e Results
You are welcome to test it your own way then we will invite @rdstern to test it. |
@shadrackkibet the only issue now is reset again. After testing all the operations, I clicked on Sort button then clicked reset and went back to logical instead of round. I can fix that. |
Please go ahead |
@shadrackkibet I fixed the reset issue and have also made changes to the test ok such that OK is not enabled when the ucrInputLogicalValues is empty for all operations except "is.na" and "!is.na" |
Great. @anastasia-mbithe I would like you to illustrate in writing here how you tested it. Then I think we are ready to invite others to test. |
@shadrackkibet Okay.
But for "is.na" and "!is.na" test ok is enabled For the other operations when I filled the input with 6, test OK was enabled |
@anastasia-mbithe please check again. Maybe I have done something wrong, but it doesn't seem to work at all. I did this: Notice the preview is not consistent with the logical function. Neither are the results. here they are:
It doesn't even give a logical function. Please check each of the logical functions in turn, and also confirm that the preview updates correctly. |
@rdstern,The preview works fine now as well as the edit preview for any of the options. In the case of Logical, the operations update automatically in the preview but the values, it updates after clicking the Update button. But even without clicking Update button it still works to Script or OK. You can test it from your side now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anastasia-mbithe great. From my point of view it all seems to be working now. Over to @shadrackkibet or @lloyddewit to check the code
This fixes #7236
Hello @shadrackkibet, the controls are in place you can carry on.