You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The same warning is defined twice separately, once in optimise_sN_prevalence() and once in optimise_s_prevalence(). I have tried different parameters and if max_s is reached, the optimise_s_prevalence() warning is thrown at least once, and the sN warning only occasionally.
Options are to:
Find parameters that only throw the optimise_sN_prevalence warning
Change the optimise_sN_prevalence message to make catching the warning easier (i.e. tell apart from the optimise_s_prevalence warning
Remove the sN warning completely
Thoughts, Angus?
The text was updated successfully, but these errors were encountered:
Easiest might be to remove the optimise_sN_prevalence() warning entirely. However as optimise_sN_prevalence() calls optimise_s_prevalence() repeatedly, the latter might issue the warning multiple times. This is not ideal --- it would be nicer to just have one warning from optimise_sN_prevalence(). If it's possible to catch the warnings from optimise_s_prevalence() and then use this warning to trigger a single warning for optimise_sN_prevalence that would be kind of neat, but if it's not easy, it's not worth it for now.
So in summary, I suggest taking the easy option (remove the warning from optimise_sN_prevalence()) for now, but leave this issue open as a low-priority enhancement for later.
When intentionally running:
The following message is returned:
The same warning is defined twice separately, once in
optimise_sN_prevalence()
and once inoptimise_s_prevalence()
. I have tried different parameters and if max_s is reached, theoptimise_s_prevalence()
warning is thrown at least once, and the sN warning only occasionally.Options are to:
optimise_sN_prevalence
warningThoughts, Angus?
The text was updated successfully, but these errors were encountered: