Login  Register

Re: TrackMate: can not import FastLAPTrackerFactory

Posted by ctrueden on Mar 10, 2015; 7:48pm
URL: http://imagej.273.s1.nabble.com/TrackMate-can-not-import-FastLAPTrackerFactory-tp5011939p5011941.html

Hi Greg,

> All I need is to
>
> from fiji.plugin.trackmate.tracking import FastLAPTrackerFactory
>
> but I get a classical import error:
>
> ImportError: cannot import name FastLAPTrackerFactory

Looks like that class changed packages [1].

You could try:

  from fiji.plugin.trackmate.tracking.oldlap import FastLAPTrackerFactory

But note the package is now called "oldlap" which implies there is a
newer/better/shinier API now. Hopefully Jean-Yves can clarify that further.

Regards,
Curtis

[1]
https://github.com/fiji/TrackMate/blob/v2.7.2/src/main/java/fiji/plugin/trackmate/tracking/oldlap/FastLAPTrackerFactory.java

On Tue, Mar 10, 2015 at 11:55 AM, Greg <[hidden email]> wrote:

> Hi,
>
> I am stuck because I can not import the FastLAPTrackerFactory within
> jython.
> According to this tutorial
>
> http://fiji.sc/Scripting_TrackMate
>
> All I need is to
>
> from fiji.plugin.trackmate.tracking import FastLAPTrackerFactory
>
> but I get a classical import error:
>
> ImportError: cannot import name FastLAPTrackerFactory
>
> When in inspect the module via
>
> print dir(fiji.plugin.trackmate.tracking)
>
> the output is
>
> ['LAPUtils', '__name__'] .
>
> So there is almost nothing there ?!
>
> I am running the latest updated Fiji 1.49p on Mac OS 10.10.
>
> Any help appreciated !
>
> Greets,
> Greg
>
>
>
> --
> View this message in context:
> http://imagej.1557.x6.nabble.com/TrackMate-can-not-import-FastLAPTrackerFactory-tp5011939.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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