-
Notifications
You must be signed in to change notification settings - Fork 105
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
Update to crops definition function to allow for "both" #9053
Update to crops definition function to allow for "both" #9053
Conversation
Want to have the option to see the results with "Start Check" both TRUE and FALSE in the same table (as two columns)
@Vitalis95 I have already approved, we can merge this once @rdstern approves too. |
@N-thony @Vitalis95 merging this in would mean the crops probabilities dialog does not work until the appropriate changes are made in the dialog. I suggest this not merged into the master branch but instead @Vitalis95 take over this branch and make in it your changes to the dialog |
@lilyclements , I get the following error from this PR when importing data |
@Vitalis95 that's a pretty major error! Thanks - should be fixed now, oops. |
@lilyclements and @Vitalis95 I am not sure if I am needed here? I think if @lilyclements and @N-thony approve, then this can be merged, though perhaps it is being incorporated elsewhere, and can then be closed? |
@rdstern I did wonder about using the sequence ideas from the seq dialog. David didn't seem to jump onto that idea -- I think because we just want to offer the same "options" each time for our EPICSA users, but perhaps I am mistaken. It would be good for us to clarify that. I am happy to close this once @Vitalis95 has merged into his own branch? |
@lilyclements , there is this error when you run the updated function Here is the code;
|
@Vitalis95 thanks. this should be fixed now |
@Vitalis95 do you still need this PR? |
@N-thony , we no longer need this |
can you close it? |
We want to have the option to see the results with "Start Check" both TRUE and FALSE in the same table (as two columns)
This PR does this, so now
start_check
takes"yes"
,"no"
, and"both"
as arguments.start_check == "yes"
works howstart_check == TRUE
used to workstart_check == "no"
works howstart_check == FALSE
used to workstart_check == "both"
gives results forstart_check == TRUE
andstart_check == FALSE
. This therefore gives two columns - instead ofoverall_cond
, which is given for the above two options, this givesoverall_cond_with_start
andoverall_cond_no_start
.This is for use in EPICSA where we want to have stored a whole set of summaries to be calculable from a saved file (i.e., the resulting "crops_def" file here)
This is linked to issue #9052. I suggest that whoever implements #9052 reads in these changes (this should not be merged without amendments made to the dialog because of the changes in
start_check
)