ddalthorp / GenEst

R package development for a generalized mortality estimator
Other
6 stars 6 forks source link

GUI: update files --> clear analysis windows #483

Closed ddalthorp closed 6 years ago

ddalthorp commented 6 years ago

When new data files are uploaded after a previous analysis, clear the previous results tabs to avoid a mismatch between data and results.

juniperlsimonis commented 6 years ago

how much of a change do you want for each data file? like, if i run through a full analysis and then realize i have the wrong CO file, do you want all of the previous results tabs to clear? What about for a wrong SE file?

i'm guessing there's a not-clean answer to this (what should be cleared will depend on which file is updated)... if that's the case, can you please write out explicitly what should be cleared when each file is updated? thanks!

ddalthorp commented 6 years ago

Uploading new file --> clear the corresonding "Analyses" tab and any downstream analysis tabs that rely on the updated data.

SE --> clear all data from Analyses > Searcher Efficiency, Mortality Estimation, Detection Probability CP --> clear all data from Analyses > Carcass Persistence, Mortality Estimation, Detection Probability SS --> clear all data from Analyses > Mortality Estimation DWP --> clear all data from Analyses > Mortality Estimation CO --> clear all data from Analyses > Mortality Estimation

juniperlsimonis commented 6 years ago

we'll also want the clearing out to happen downstream (for M and g) when a new SE or CP model is run, yeah?

ddalthorp commented 6 years ago

Yes! Good catch.

ddalthorp commented 6 years ago

These kinds of details are endless, but they really help give the product a professional feel...or, rather, not the unprofessional feel there is when these details are not attended to.

juniperlsimonis commented 6 years ago

ok, this is all handled as of v0.2.13 #556