ctmm-initiative / ctmmweb

Web app for analyzing animal tracking data, built upon ctmm R package
http://biology.umd.edu/movement.html
GNU General Public License v3.0
32 stars 21 forks source link

Fine tuning and refitting variogram window after model selection #81

Closed chfleming closed 5 years ago

chfleming commented 5 years ago

For the popup window where you can fine tune the fit parameters, zoom into the variogram and refit the model, at least on @markyxe 's data, the window works right after you fit the models, but then when you leave that page and go back (or load previous results in a new session) the window no longer comes up.

xhdong-umd commented 5 years ago

I didn't find this problem with other test data set. I don't have @markyxe 's data so I cannot reproduce this or look into another problem reported about tao without unit.

I found there was an error calling ctmm.guess with another data set, how should we deal with that?

xhdong-umd commented 5 years ago

I think this is one of the confusing aspect of the selectinput. After you come back, the input is showing last selection value, but if you just click on it, the input value is not changed. This is working as expected as a input, but our app was relying on input change to trigger action, so nothing happens.

You need to use backspace to delete the last value then select it again. This also apply to the page before model selection too.

I could make the pop up window clear the input after applying the changes, however it's hard to do the same for the cancel button, so this approach is not perfect.