Closed cpoczatek closed 6 years ago
We no longer recommend the use of curl to download either Fiji or OpenMIMS. Since the update site for OpenMIMS is now hosted in imageJ, like most of the plugins, rather than on a Partners virtual machine, the plugin for OpenMIMS is always available in freshly-downloaded copies of Fiji. Now to get OpenMIMS, one only needs to go to the Help menu of Fiji and select "Update..." then click on "Manage update sites" button and check the entry for OpenMIMS. After that, the "Open MIMS Image" item will be available on the Fiji Plugins menu, and will updated any time the user goes to the Update menu and clicks on "Apply changes". This seems to me simpler than the use of curl on the command line. I have updated the manual to recommend this technique rather than curl. No command line stuff, no custom shell scripts that always seem to break, no confusing symlinks, and no worrying that Partners will turn off the virtual machine that was hosting update site.
If the curl call to download Fiji fails, script continues, throws errors, and makes some broken symlinks. Could do a check of exit status of curl, or add
-e
bash strict flag. Should also probably add cleanup code if errored out.