Login  Register

Re: bUnwarpJ question

Posted by Ignacio Arganda-Carreras on Aug 21, 2013; 7:25am
URL: http://imagej.273.s1.nabble.com/bUnwarpJ-question-tp5004508p5004515.html

Hello Michael,

Can you try typing

java -Xmx512m -cp ~/bin/Fiji.app/jars/ij-1.47q.jar:~/bin/Fiji.app/plugins/
bUnwarpJ_.jar *bunwarpj*.bUnwarpJ_ -help

instead?

ignacio


On Tue, Aug 20, 2013 at 6:28 PM, Michael Zeineh <[hidden email]>wrote:

> 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
>



--
Ignacio Arganda-Carreras, Ph.D.
Seung's lab, 46-5065
Department of Brain and Cognitive Sciences
Massachusetts Institute of Technology
43 Vassar St.
Cambridge, MA 02139
USA

Phone: (001) 617-324-3747
Website: http://bioweb.cnb.csic.es/~iarganda/index_EN.html

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