virtualcell / vcell-fiji

MIT License
2 stars 0 forks source link

Interprocess Communication #13

Closed AvocadoMoon closed 8 months ago

AvocadoMoon commented 9 months ago

Currently you need to copy the link in which the remote N5 file is exported to and this can be viewed as a problem for people who don't understand that the link needs to be copied.

AvocadoMoon commented 9 months ago

Can have OS environmental variables set by executing terminal commands with Java, having some set of conditional statements that change the terminal command executed based on the OS VCell is ran on.

AvocadoMoon commented 9 months ago

Some other potential solutions

AvocadoMoon commented 9 months ago

Process builder to execute Fiji app, shared file to store data that is needed.

AvocadoMoon commented 9 months ago

The current predicament: ImageJ plugins seem to be able to accept parameter arguments but it may be tricky to implement since it'll have to be done using the context manager and @Parameter decorator most likely. Also some of the problems that can happen while wanting the VCell application to automatically retrieve the URI from the VCell application is as follows:

It may be better to teach the users how to copy the URI link into the ImageJ plugin and create some "Exported" tab in the VCell app which lists all the exports a user had already did along with the details about that export job such as simulation, parameters, variables etc...

AvocadoMoon commented 8 months ago

Currently for inter-process communication regarding exports a JSON file is saved within the VCell applications home directory. It doesn't allow for a one button click and other consequences, but it seems to be the best available option for quick communication that is safe.