Open jefferis opened 9 years ago
I think this would be quite hard, as is, as it would require manipulating POST requests to send to the Shiny app and have it display the right output on a webpage. It might be easier to have a separate server app that handles HTTP requests of our own design and then produces output similar to NBLAST on-the-fly instead. I'll have a proper look into these two options when my exams finish on 1 May.
Thanks!
I found this this thread on the shiny google group that sounded similar. I have the impression that opencpu is the most complete alternative.
Just to be clear, I was thinking of a very simple option – opening an external browser at the right page and posting the tracing (likely from a temporary file created by Fiji).
It looks like the easiest and most robust solution would be to create a duplicate of this Shiny app with just the 'user-uploaded tracing' option and a slight layout change, and then have the Fiji plugin open a file-browser showing the file, with instructions to drag and drop it on the page.
Going down any of the other routes means that we'd have to handle WebGL output, as well as user-interaction, ourselves; this would likely result in behaviour that's not quite consistent across the NBLAST apps.
Hmm, it's a thought, and I think it's definitely worth making a customised version of the "upload a trace" page if that simplifies things. However, I'd still hold out for a way of doing the upload programmatically. Do you really think that's not an option? Would it be worth enquiring on the shiny google group?
I suppose one approach would be to packet-sniff a normal user-uploaded tracing comparison and see if there's a way to recreate that in a user's browser using Fiji. I think browsers nowadays are a bit wary of things trying to activate file upload HTML elements without user interaction, though.
@jefferis Do you think this is something still worth investigating?
Prob not now. But in principle yes. G.
Sent from my iPhone
On 2 Jun 2016, at 18:14, James Manton notifications@github.com wrote:
@jefferis Do you think this is something still worth investigating?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Okay, I'll look into, but probably won't make any progress for a couple of weeks.
I'm thinking of making a simple Fiji plugin so that once we have a simple neurite tracing in Fiji one can immediately nblast on the fly. What do you think would be required on this end @ajdm