-
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
Show error#5604 #5611
Show error#5604 #5611
Conversation
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.
That was exciting, so I tried the branch. But I can't see where I should test this? I assume I am too early?
@Ivanluv I have now found it: Perfect. Can we have this whenever there is a Try. It is just what I was hoping for. |
@Patowhiz could you please review this |
@rdstern could you please look at this again |
What has changed to look at now? I assume that the Try is a user control and hence the display of the error would be a feature on each dialogue with the Try control? So I looked at the Prepare > Column: Caslculate > Calculations and also Column: Generate > Enter and it doesn't seem to be there yet. Am I wrong? I assume your code adds to the Try User control, so it could automatically be everywhere that there is a Try? |
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.
I checked where I remembered the halfway dialogues and it seems to work very well. Great. Please can it be merged.
I looked at the Model Hypothesis Tests, Model and Use Model and General Fit Model.
In prepare I looked at the Calculate and at Enter.
The one still to check will be the File > New Data Frame once the new version is merged. I assume it is using the same control and hence will work automatically. Perhaps @Patowhiz can confirm. But this should not hold up the merging of this improvement.
Public Class ucrTry | ||
Public bFirstLoad As Boolean = False | ||
Private bIsCommand As Boolean = False | ||
Private CommandModel As String = "" |
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.
Rename this
Private CommandModel As String = "" | |
Private strCommandModel As String = "" |
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.
@Ivanluv @maxwellfundi was this done before it was merged?
End Try | ||
End Sub | ||
|
||
Private Sub AddButtonInTryTextBox() |
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.
@Patowhiz This button code has been replicated here. Suggest we move this into a user control to avoid duplication. Not urgent though. Can you add an issue for it?
@maxwellfundi Can you look at this? We are almost ready to merge it but there's conflicts with the calculator. |
@dannyparsons Am on it now actually. |
Merge pull request IDEMSInternational#5611 from Ivanluv/ShowError#5604
@Ivanluv @dannyparsons @rdstern this is what I did for checking if the commands typed produce a dataframe. Basically, I'm going through all the commands line by line making sure that each command ios correct and checking the output of the last command also. I don't if this could help in ucrTry control.
|
fixes #5604
@africanmathsinitiative/developers this is ready for review