Login  Register

bUnwarpJ question

Posted by mmzeineh on Aug 20, 2013; 4:28pm
URL: http://imagej.273.s1.nabble.com/bUnwarpJ-question-tp5004508.html

Hi,

I am trying to multithread bUnwarpJ on a cluster. I am trying two approaches, and running into difficulties with both:

1. I would like to be able to run bunwarpj from within a python script. I can do this right now, except I cannot figure out the command for importing bUnwarpJ at the beginning of the script. If I simply type "import bunwarpj" then it can't find the module. I can't figure out where to pull it from, i.e. "from ij.plugin import bunwarpj" doesn't work. The only thing that works is actually going to the menu and running Plugins->Registration->bUnwarpJ, then running my python script. Would be great to be able to start it directly from my python script by importing it directly.

2. I cannot get bunwarpj to work from the UNIX command line per the description in the web page:

Here is what I try on a redhat linux box:
java -Xmx512m -cp ~/bin/Fiji.app/jars/ij-1.47q.jar:~/bin/Fiji.app/plugins/bUnwarpJ_.jar bUnwarpJ_ -help

I get a "Could not find the main class: bUnwarpJ_. Program will exit."

I played around with a lot of paths, couldn't get anything to work. bUnwarpJ works totally fine from the GUI within Fiji on this computer

Thank you for any help. I wonder if these are both the same problem.

Michael Zeineh
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html