Login  Register

Re: cannot import AnalyzeSkeleton

Posted by Aryeh Weiss on Dec 27, 2015; 2:39pm
URL: http://imagej.273.s1.nabble.com/cannot-import-AnalyzeSkeleton-tp5015289p5015290.html

Update.

If I use
from org.doube.skeleton import AnalyzeSkeleton

and replace AnalyzeSkeleton_ with AnalyzeSkeleton, the script works
properly.

Does boneJ conflict with the stock Fiji distribution?

--aryeh


On 27/12/2015 2:23 PM, Aryeh Weiss wrote:

> I have a python script that depends on the AnalyzeSkeleton_() class
>
> This script was working properly last week when I tested the fix to
> the memory
> problem we had with Jython. However, today, the script cannot import
> this class.
>
> Here is the error:
> from skeleton_analysis import AnalyzeSkeleton_
> ImportError: No module named skeleton_analysis
>
> And here is the line that generates this error:
> from skeleton_analysis import AnalyzeSkeleton_
> (which is actually  clear from the error message)
>
> Here is what I find with the Command Finder:
>
> Analyze Skeleton (2D/3D) Analyze>Skeleton
> sc.fiji.analyzeSkeleton.AnalyzeSkeleton_
> /Applications/local/fiji/Fiji.app/plugins/AnalyzeSkeleton_-3.0.0.jar
>
>
> And with the updater I also find that plugins/AnalyzeSkeleton_jar is
> up to date.
>
> Why is the import failing?
>
> Thanks in advance.
> --aryeh
> --
> Aryeh Weiss
> Faculty of Engineering
> Bar Ilan University
> Ramat Gan 52900 Israel
>
> Ph:  972-3-5317638
> FAX: 972-3-7384051
>


--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384051


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