jefferislab / bridging_on-the-fly

0 stars 0 forks source link

Download SWC button does not appear after neuron has been bridged #4

Closed jdmanton closed 10 years ago

jdmanton commented 10 years ago

It looks like the reactive function does not update when TransformStatus is updated from within another function, but I don't know why.

jdmanton commented 10 years ago

Setting options(shiny.reactlog=TRUE) before running the app and then pressing Cmd + F3 in the browser is handy for investigating reactive dependencies and children, but I still haven't worked out why output$complete does not recalculate after bridging.

jdmanton commented 10 years ago

Finally fixed in 79b953ef8ef5158197a9721dabe993a6c0a8df6a, by making the reactive function explicitly depend on input$file1 so that it re-triggers when the file is uploaded and moving the definition lower down the code (I'm not exactly sure why this is necessary, but it is).

jefferis commented 10 years ago

Great!

Not sure how the reactive bit actually works - code analysis?

On 11 Nov 2014, at 22:14, James Manton notifications@github.com wrote:

Finally fixed in 79b953e, by making the reactive function explicitly depend on input$file1 so that it re-triggers when the file is uploaded and moving the definition lower down the code (I'm not exactly sure why this is necessary, but it is).

— Reply to this email directly or view it on GitHub.

Gregory Jefferis, PhD Division of Neurobiology MRC Laboratory of Molecular Biology Francis Crick Avenue Cambridge Biomedical Campus Cambridge, CB2 OQH, UK

http://www2.mrc-lmb.cam.ac.uk/group-leaders/h-to-m/g-jefferis http://jefferislab.org http://flybrain.stanford.edu